Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to calculate elapsed time
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01016916
Message ID:
01119722
Vues:
13
>See below
>
>>
>>function SecondsToTime
>>lparameters tnSeconds
>
>RETURN IIF( m.tnSeconds > 86400, padl(int(m.tnSeconds/86400),2,'0') + ":", "") + ;
>                    substr(ttoc({^2006/01/01 00:00:00} + m.tnSeconds,3),12)
>
>>endfunc
Ok, thanks. I can make it to be one line <g>
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