A
almurph
Hi,
I have a trickly little problem that I hope you can help me with. I
need to add *working* days to a DateTime object of the format: yyyy/MM/
dd
For example: say I have a timestamp of the following date:
2008/10/24 <--tomorrow
say I want to add 5 *working* days, not forgetting Monday is a Bank
Holiday
so, the answer should become:
2008/10/24 + 5 = 2008/10/31
that is, Saturday, Sunday and Monday are excluded as Sat/Sun are the
wkeends and Mon is the Bank Holiday
Any way of doing this? Any comments/suggestions/code-samples much
appreciated.
Thanking you,
Colm
I have a trickly little problem that I hope you can help me with. I
need to add *working* days to a DateTime object of the format: yyyy/MM/
dd
For example: say I have a timestamp of the following date:
2008/10/24 <--tomorrow
say I want to add 5 *working* days, not forgetting Monday is a Bank
Holiday
so, the answer should become:
2008/10/24 + 5 = 2008/10/31
that is, Saturday, Sunday and Monday are excluded as Sat/Sun are the
wkeends and Mon is the Bank Holiday
Any way of doing this? Any comments/suggestions/code-samples much
appreciated.
Thanking you,
Colm