Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get format string to use for InputMask?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How can I get format string to use for InputMask?
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00982231
Message ID:
00982231
Views:
77
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
Next
Reply
Map
View

Click here to load this message in the networking platform