Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get format string to use for InputMask?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How can I get format string to use for InputMask?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00982231
Message ID:
00982231
Vues:
73
Hi everybody,

In the Help to set date command I read:
AMERICAN mm/dd/yy
ANSI yy.mm.dd
BRITISH/FRENCH dd/mm/yy
GERMAN dd.mm.yy
ITALIAN dd-mm-yy
JAPAN yy/mm/dd

My question is: how can I get the format string and use it for InputMask? I guess, it's not that hard using CHRTRAN() function.

This seems to work:
CHRTRAN(TRANSFORM(DATETIME()),"1234567890","9999999999")
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform