I'm getting strange results from a business days calculation with
Date::Manip. Everything works as expected if I use a number of days
between 1 and 6, but after 6 the resulting date doesn't seem to be
based on business days.
my $unparsed_date = DateCalc("today","+ 6 days",3);
my $date = UnixDate($unparsed_date,"%Y%m%d");
returns 20130405. Changing to "+ 7 days" returns 20130404 instead of
the expected 20130408. Today is 20130328.
Does anyone know why this is happening?
- Grant
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/