Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time Elapsed
Message
 
 
À
06/06/2002 14:20:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00665357
Message ID:
00665699
Vues:
15
Gregory,

If SET HOURS is set to 24 ttoc() can do all of the work for you for durations less than 24 hours:

? ttoc( {^2002-01-01 00:00 } + timetaken, 2 )


>x = ttoc( { 00:00 } + timetaken, 1)
>x = substr(x,9,2) + ':' + substr(x,11,2) + ':' + right(x,2)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform