I just started using Date::Manip and so far it is AWESOME! I have one major question, however. In my code I'm getting the difference between two business dates, however the resulting number doesn't seem to take the year into account!
Here's what I've written:
$total_days = Delta_Format( DateCalc($first_date, $second_date, \$err, 2), 1, "%dt");
Where $first_date = 2007011000:00:00 and $second_date = 2007020200:00:00 I'm getting the correct answer of "17".
However where $first_date = 2006121400:00:00 and $second_date = 2007013100:00:00, I'm getting "12" and I should be getting 33.
(Dec 24,25,31 and Jan 1 are specified as Holidays in my .cnf file, and my work week is 1-5/M-F)
Is there something special I need to specify or do I need to format the date differently?!?!
TIA!