Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time Elapsed
Message
From
07/06/2002 04:26:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00665357
Message ID:
00665813
Views:
21
>Gregory,
>
>If SET HOURS is set to 24 ttoc() can do all of the work for you for durations less than 24 hours:
>
>? ttoc( {^2002-01-01 00:00 } + timetaken, 2 )
>
>
>>x = ttoc( { 00:00 } + timetaken, 1)
>>x = substr(x,9,2) + ':' + substr(x,11,2) + ':' + right(x,2)

David,

IC. I just picked some old (ancient?) code I had.
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform