$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
In reply to Re: Get previous date
by davorg
in thread Get previous date
by Chon-Ji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |