|We don't bite newbies here... much|
Yesterday Dateby Anonymous Monk
|on Feb 04, 2008 at 18:58 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
How can I get yesterday's date from today's date, but making sure I don't get weekends for yesterday's date.
I can get yesterday's date using this:
But if I run it I am getting "2008-2-3" and it's a weekend date, any help?