Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Format
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00144575
Message ID:
00144655
Views:
19
>Hi all,
> My question is concerning Date Formats. If a user has in their Regional Settings a Short-Date style of "dd-MMM-yy", how do I change the look of this date to "mm-dd-yyyy" in my application?

You can use the Format function (ex: format(now,"mm-dd-yyyy")) which will return the date in the way you want.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform