Click to See Complete Forum and Search --> : Code for adding business days


rstaticn
03-16-2004, 03:49 PM
Does anybody know where I can find some code that allows me to add certain amount of business days to any given date...so excluding weekends and holidays etc etc

I'm guessing there will have to be some alterations to the code because stat holidays are different depending on where you live. But any useful code would be much appreciated thanks.

silent11
03-17-2004, 08:19 AM
I'd start with either Date::Calc (http://search.cpan.org/~stbey/Date-Calc-5.3/Calc.pod) or Date::Business (http://search.cpan.org/~desiminer/Date-Business-1.2/Business.pm) . I've used Date::Calc before and It's pretty straight forward.