Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Format
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00144575
Message ID:
00144655
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform