Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time arithmetic in VFP 3
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00143995
Message ID:
00144036
Vues:
24
>Time arithmetic can be done using datetime expressions by simply subtracting or adding them together. After that is done how can one simply convert the result to a time so that it can be displayed. Is there a function for this? I have only found Hours() and minutes().

Evan,

The tresult of datetiem subtraction is seconds. Take the seconds and /86,400 for days, /3600 for hours, /60 for mintues.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform