Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time Elapsed
Message
De
07/06/2002 04:26:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00665357
Message ID:
00665813
Vues:
24
>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)

David,

IC. I just picked some old (ancient?) code I had.
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform