in reply to Date::Calc::Delta_DHMS(): not a valid date

You're telling Date::Calc we are the 32nd of April.

$mday1 ++; $mday2 ++;
should be
$month1 ++; $month2 ++;

Replies are listed 'Best First'.
Re^2: Date::Calc::Delta_DHMS(): not a valid date
by Anonymous Monk on May 31, 2009 at 04:39 UTC
    T_T doh!

    Cannot believe i didn't see that...

    Thanks alot ikegami. Who knows how long i would've sat here wondering what was going wrong.