Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difference between two hours
Message
De
06/05/2005 09:02:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01011564
Message ID:
01011571
Vues:
16
>Hi all,
>
>
>i search a utility program FOR calculate the result between two hours.
>
>Sample
>
>
>Beginning   21:30
>End         23:33
>Difference  02:03 or 2.05 Hours
>
>
>Thank in advance
>
>bernhart
* H:M <=23:59
? SUBSTR(TTOC({^1999/12/31:}+ABS(CTOT("21:30")-CTOT("23:33")),3),12,5)
* H:M:S <=23:59:59
? TTOC({^1999/12/31:}+ABS(CTOT("21:30")-CTOT("23:33")),2)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform