VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Get Local Date Format (Updated)

by John Couture (3 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

Updated to incorporate a VB 6 split function emulator for VB5 users. Also changed date format to lower case for compatibility with controls that don't like upper case date formats. This routine will return the Date format for the locale the app is running in. This way you can format your dates to display in the preferred format of the area the app is being used. (eg. mm/dd/yyyy in the U.S., dd/mm/yyyy in England, dd.mm.yyyy in Germany, etc).

Code Returns
The date standard format string of the computer it is running on.

Rate Get Local Date Format (Updated)

Upload

Download this snippet    Add to My Saved Code

Get Local Date Format (Updated) Comments

No comments have been posted about Get Local Date Format (Updated). Why not be the first to post a comment about Get Local Date Format (Updated).

Post your comment

Subject:
Message:
0/1000 characters