Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert character to date
Message
 
 
To
17/11/2002 01:38:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00723600
Message ID:
00723607
Views:
8
lcFrtpDate = "Nov 11 12:10:10 PM"
lcMonthList = "JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC"
lnYear = YEAR(DATE())
lnMonth = (AT(UPPER(LEFT(lcFtpDate,3)), lcMonthList )-1)/3+1
lnDay = VAL(SUBSTR(lcFtpDate, 5,2))
? DATE(lnYear, lnMonth, lnDay)
>Hi,
>Anybody using FTPx from Mabry?
>I need to convert the date returned ("Nov 11 12:10:10 PM") by GetDirList() to VFP date data type. Any ideas?
>
>I tried to use CTOD() but it return empty date value.
>
>Pls advise.
>
>Thank you
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform