in reply to Get previous date
$today = localtime; sleep(-24*60*60); $yesterday = localtime;
Note: Algorithm extrapolated from How Do I Get Tomorrow's Date by Dominus.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |