Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time to minutes
Message
From
24/10/2003 14:20:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/10/2003 14:18:04
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00842366
Message ID:
00842371
Views:
32
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform