Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to calculate elapsed time
Message
 
 
À
05/05/2006 11:19:36
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01016916
Message ID:
01119616
Vues:
28
>Depends on what and where you want to do I think. As you know already my suggestion is to use a much longer but safer one.
>Cetin
tnSeconds = val(inputbox('Type seconds'))
set hours to 24
set seconds on
=messagebox( ttoc(ctot('0') + m.tnSeconds,2))
=messagebox(substr(ttoc({^2006/01/01 00:00:00} + m.tnSeconds,3),12))
I've compared both functions and his just one function longer but settings independent. So, I went with Sergey's implementation.

Thanks again for your help.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform