Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String to date
Message
 
To
14/06/1999 11:57:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00229475
Message ID:
00229493
Views:
16
>how do you convert a str to date data type ?

If you have date as a string in format YYYYMMDD, then small function may help:

Function StoD
Parameters cString

Return Ctod(Substr(cString,5,2)+"/"+Right(cString,2)+"/"+Left(cString,4))
Igor Gelin
Database Developer
Previous
Reply
Map
View

Click here to load this message in the networking platform