Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert seconds into days,hours,minutes and seconds
Message
De
31/03/2004 08:17:09
 
 
À
30/03/2004 21:19:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00891059
Message ID:
00891131
Vues:
17

* for example, there are 7270 seconds please convert it into
* days=
* hours=
* minutes=
* seconds=
iSeconds = 7270
dtValue = {^1900/01/01:}+m.iSeconds
? 'DAYS',TTOD(m.dtValue)-{^1900/01/01}
? "hours", HOUR(m.dtValue)
? "minutes", MINUTE(m.dtValue)
? "minutes", SEC(m.dtValue)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform