Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Minutes calculation
Message
From
15/05/2004 08:29:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/05/2004 16:05:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00904204
Message ID:
00904315
Views:
14
You will have to write some sort of loop that considers the times you are interested in.

For example, from 8:15 to 20:00, just subtract 18:00 minus 8:15.

>Hello, i'm having this issue and i don't know how to start to solve it.
>
>I'm having two datetime fields, i need to know the amount of minutes between them with this considerations:
>- the laboral time is from 7 am to 18 pm
>- the not laboral days, such as hollidays, saturdays and sundays.
>
>How can i do this?
>Thanks for your help.
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