Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time Elapsed
Message
 
 
To
06/06/2002 14:20:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00665357
Message ID:
00665699
Views:
16
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)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform