No such thing as a small change | |
PerlMonks |
Re: How do i find yesterday's dateby marcink (Monk) |
on Jun 13, 2001 at 17:48 UTC ( [id://88058]=note: print w/replies, xml ) | Need Help?? |
Lots of ways; the easiest is to use 'time' function (print gmtime( time - 24 * 60 * 60 )). You might also check Date::Manip module -- its ParseDate function allows for specifying time in quite complex ways (like "3 days ago".
-mk
In Section
Seekers of Perl Wisdom
|
|