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:
01119706
Views:
15
See below

>
>function SecondsToTime
>lparameters tnSeconds

RETURN IIF( m.tnSeconds > 86400, padl(int(m.tnSeconds/86400),2,'0') + ":", "") + ;
                    substr(ttoc({^2006/01/01 00:00:00} + m.tnSeconds,3),12)

>endfunc
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform