Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime difference
Message
From
26/04/2001 17:01:31
 
 
To
26/04/2001 16:46:21
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00500388
Message ID:
00500401
Views:
27
This message has been marked as the solution to the initial question of the thread.
>HI, I have two values that are DateTime type. I want to substract value 2 - value 1 in order to display the elapsed time :
>
>exe_start-exe_end
>It gives me a number like 1432. I thank that it represents seconds. Is that it ? If yes, How can I display it in format hh-mm-ss.
>
>Thank you,
>Christian Cote


It is seconds. Just do some math:

1432 / 60 = 23.86 minutes
.86 * 60 = 51.6 seconds
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform