in reply to Date::Calc Module

maverick's suggestion is definitely the efficient way to go. However, if you still find yourself needing Date::Calc, here's the format to add 5 days to your current date:

$NumDays = 5; ($NewYear, $NewMon, $NewYear) = Add_Delta_Days($CurrYear, $CurrMon, $CurrDay, $NumDays);

Update: Doh! jeffa beat me to the punch. And, as usual, he's response is more complete. ++

If things get any worse, I'll have to ask you to stop helping me.

Replies are listed 'Best First'.
Re: (shockme) Re: Date::Calc Module
by skirrow (Novice) on Dec 30, 2001 at 19:55 UTC
    That did exactly what I need. Thank you! I'd found that code before but got confused with how to use it I think but now i've figured it out! Thanks a lot everyone for all your help! - Neil