Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime difference
Message
De
26/04/2001 17:01:31
 
 
À
26/04/2001 16:46:21
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00500388
Message ID:
00500401
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform