Date::Simple to the help.
#!/usr/bin/perl use strict; use warnings; use Date::Simple qw(today); my $d = today() - 1; $d-- while ($d->day_of_week == 0 or $d->day_of_week == 6); print $d, $/;
In reply to Re: Yesterday Date
by moritz
in thread Yesterday Date
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |