Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time to minutes
Message
De
24/10/2003 14:20:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/10/2003 14:18:04
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00842366
Message ID:
00842371
Vues:
33
>Hi everyone,
>
>Does anyone one of you have a routine that can calculate minutes from two given times? For eg: I have a start time and end time , I want to compute the minutes in that.
>
>TIA

If you subtract to values of type DateTime, you will obtain the difference in seconds. Just divide that by 60. You can use int() and the "%" operator (or the mod() function) to convert that to minutes and seconds.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform