Working with holidays and not working days
Posted: Wed Oct 13, 2004 11:40 am
Hi my friends.....
I need to make some operations (add, subtract) using days, but I must consider working days and not working days.
Does anybody know if there are functions in DS in order to get the "holiday status" of a given date ?
And besides, I need this function to take into account that for adding a number of days, it should consider that in the middle it may exist several not working days.
Example: let us calculate a given Thursday plus 5 days.
If the addition is using calendar days, the result is the next Tuesday.
If the addition is using working and not working days, the result is the next Thursday.
Am I clear what I need ?
Thanks in advance.
I need to make some operations (add, subtract) using days, but I must consider working days and not working days.
Does anybody know if there are functions in DS in order to get the "holiday status" of a given date ?
And besides, I need this function to take into account that for adding a number of days, it should consider that in the middle it may exist several not working days.
Example: let us calculate a given Thursday plus 5 days.
If the addition is using calendar days, the result is the next Tuesday.
If the addition is using working and not working days, the result is the next Thursday.
Am I clear what I need ?
Thanks in advance.