|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: How do i find yesterday's dateby marcink (Monk) |
| on Jun 13, 2001 at 13:48 UTC ( [id://88058]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||