Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to calculate elapsed time
Message
 
 
À
24/05/2005 19:36:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01016916
Message ID:
01119597
Vues:
20
>
>t1 = DATETIME()
>*
>* wait some amount
>*
>t2 = DATETIME()
>
>nSeconds = t2 - t1
>cTime = TTOC({^2005/01/01 00:00}+nSeconds,2)

messagebox(TTOC({^2005/01/01 00:00}+367,2))

this shows 12:06:07 AM
I want it to show
00:06:07
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform