![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Date Calculationby davidrw (Prior) |
on Jan 30, 2007 at 15:19 UTC ( #597380=note: print w/replies, xml ) | Need Help?? |
here's a Date::Calc solution -- assumes "business day" is just M-F, so adding 10 just needs to add in the two weekends as well, so is simply:
If you want to take into account holidays, see the "10) How can I calculate the last business day (payday!) of a month?" example in the Date::Calc docs for reference.
In Section
Seekers of Perl Wisdom
|
|