Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DTOS
Message
From
11/07/2001 01:26:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: DTOS
Miscellaneous
Thread ID:
00528987
Message ID:
00529082
Views:
21
>>Is there a function that does the opposite of this and converts a string, such as "20010601", to a date (CTOD() does not work unless there's a "/" in there)?
>
lcDate = "20010601"
>ldDate = EVAL("{^" + (TRANSFORM(lcDate, "@R 9999/99/99")) + "}")
This is a nice example of localization independent date handling.
Previous
Reply
Map
View

Click here to load this message in the networking platform