Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Work days between two dates - finally!
Message
 
 
To
08/06/2003 00:25:48
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00797684
Message ID:
00797721
Views:
27
>Hi Nadya
>
>I intend no offence, but IMO checking for holidays should be a separate function. That way one could always check what holidays are coming up in the next month. This separate function can be called from the workdays routine by passing in the same date parameters.

Agree, it could be and better be a separate function. It would return number of holiday days and we would just need to substract them.

The problem with holidays, that they are not consistant, so for each year we would need a table of Holidays.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform