in reply to Re: Date subtraction using DateCalc
in thread Date subtraction using DateCalc

There is a DateCalc function within Date::Manip. I found the problem, month and day were in the wrong positions (switched) and the difference was returning empty slots instead of numbers for year, month, week, etc..,. Thanks for the reply.

Replies are listed 'Best First'.
Re^3: Date subtraction using DateCalc
by Your Mother (Archbishop) on Aug 19, 2009 at 16:41 UTC

    Whoops. Sorry about that. Looking at the doc for the function, that's not much fun. :( If you have Date::Calc or can get it, I'd recommend it strongly over the Date::Manip stuff. DateTime is another excellent choice (slow but *many* features).