Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Unix system time data type
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00525510
Message ID:
00525518
Views:
10
This message has been marked as the solution to the initial question of the thread.
>I wrote an UDF, but is there a VFP function that converts the number of seconds since Jan 01, 1970 into a date and time?
>
>TIA
ltDateTime = {^1970/01/01 00:00:00} + lnSeconds
ldDate = TTOD(ltDateTime)
lcTime = TOTOC(ltDateTime,2)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform