in reply to Yesterday Date
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, $/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Yesterday Date
by Anonymous Monk on Feb 04, 2008 at 19:54 UTC | |
by moritz (Cardinal) on Feb 04, 2008 at 19:57 UTC | |
by Anonymous Monk on Feb 04, 2008 at 20:08 UTC | |
by Anonymous Monk on Feb 04, 2008 at 20:11 UTC | |
by ikegami (Patriarch) on Feb 05, 2008 at 00:49 UTC | |
|