And of course, this code breaks near the DST boundaries.my $yesterdays_date = localtime; sleep 86400; print "Yesterday, it was $yesterdays_date\n";
-- Randal L. Schwartz, Perl hacker
In reply to Re: How to find yesterdays date (was: Date)
by merlyn
in thread How to find yesterdays date (was: Date)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |