LA.pm: Perl Tomorrow

Jeff Yoak jeff at yoak.com
Thu Sep 27 12:31:52 CDT 2001


At 12:04 PM 9/27/01 -0500, Arkadiy wrote:
>Hi peeps.

Yo.


>See, I need to find out tomorrow's and yesterday's date (MM/DD/YYYY), based
>on arbitrary date supplied (MM/DD/YYYY). I tried Date::Manip, but when the
>module produced a fatal under -T, I mean, come on, what kind of a module is
>that? Anyway, can anyone recommend a decent module or maybe have some kode

Date::Manip is excellent, but overkill for this application.  Check out 
Date::Calc .  Using localtime() and Time::Local, this would be easy to do 
manually, but I won't post the code here because it is better to use a 
module like Date::Calc.

Cheers,
Jeff






More information about the Losangeles-pm mailing list