in reply to How to find yesterdays date (was: Date)
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to find yesterdays date (was: Date)
by Tyke (Pilgrim) on Mar 12, 2001 at 18:04 UTC |