Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting date formats
Message
 
 
To
11/02/2002 17:35:12
Thomas Ianuzzi
Information Security Consultants, Inc.
Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00618608
Message ID:
00618610
Views:
11
>If I request the system date Date() I get {02/10/02}. I want to export it to another application in the format {^2002/02/10}. Is there a direct conversion function?

There is no such function but you can do it in one line
ldDate = DATE()
lcDate = "{^" + TRANSFORM( DTOS(ldDate), "@R 9999/99/99") + "}"
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform