Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to calculate elapsed time
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01016916
Message ID:
01119604
Views:
18
>
>lnSeconds = 367
>ltDt = {^2006/01/01 00:00:00} + lnSeconds
>? SUBSTR(TTOC(ltDt,3),12)
>* Including days
>? STRTRAN(SUBSTR(TTOC(ltDt,3),9), "T", " ")
>
This is much simpler than the one I came up with.

Thanks a lot.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform