Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Text to DateTime
Message
From
19/08/2008 14:34:23
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Convert Text to DateTime
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01340048
Message ID:
01340048
Views:
46
This does not work. The last value is an empty DateTime. How do I do this? What if the date is "20080819" or "08192008" or "08/19/2008" or whatever? Is there one way to convert these?
cDate = '080819'
cTime = '1315'
cDateTime = cDate + ':' + cTime
? ctot(transform(cDateTime,'@R ^99/99/99:99:99'))
Next
Reply
Map
View

Click here to load this message in the networking platform