VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get Local Date Format (Updated)

John Couture  (3 Submissions)   Miscellaneous   Visual Basic 3.0   Beginner   Wed 3rd February 2021

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).

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

Rate Get Local Date Format (Updated) (6(6 Vote))
Get Local Date Format (Updated).bas

Get Local Date Format (Updated) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters