Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a STOD command/function?
Message
 
 
To
01/05/2002 11:58:26
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00651378
Message ID:
00651401
Views:
10
Try
? CTOD( Transform("05012002", "@R 99/99/9999"))
* For STOD
? Evaluate( "{^" + Transform(lcDate, "@R 9999/99/99") + "}")
* or
? Evaluate( Transform(lcDate + " ", "@R {^9999/99/99}"))
>Hi all,
>
>I have a character field that is a date in mmddyyyy format. I need to sort the file by this serv_date field.
>
>There is a DTOS (Date To String) command, but no inverse STOD (String To Date).
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform