Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to calculate elapsed time
Message
De
05/05/2006 11:27:29
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:
01119619
Vues:
15
>>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.

OK here is my input:

86401

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform