in reply to the next day's date

Is there a perl routine that will get the next day's date?

If you don't mind to narrow little 1 hour windows when daylight savings time transitions will give you the wrong answer (in terms of absolute time, but not date), you can do $tomorrow = time() + 24*60*60; and then use localtime() to pick $tomorrow apart into pieces. Or, you can check out Date::Manip.

Replies are listed 'Best First'.
Re: Re: the next day's date
by mfriedman (Monk) on Aug 07, 2002 at 19:23 UTC
Re: Re: the next day's date
by RMGir (Prior) on Aug 07, 2002 at 20:56 UTC
    I'll second the recommendation for Date::Manip; it will even let you "Date_GetNextWorkDay", letting you specify the holidays that apply in your context.
    --
    Mike