ferum has asked for the wisdom of the Perl Monks concerning the following question:
I want to get today's date and the date 3 days before today's...$currentDate = `date "+%Y_%m_%d"`; $currentDate =~ s/\s/ /g; chop($currentDate);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to substract date in perl?
by graff (Chancellor) on Feb 26, 2003 at 06:32 UTC | |
by ferum (Initiate) on Feb 26, 2003 at 09:51 UTC | |
|
Re: How to substract date in perl?
by JayBonci (Curate) on Feb 26, 2003 at 06:56 UTC | |
|
Re: How to substract date in perl?
by hotshot (Prior) on Feb 26, 2003 at 06:48 UTC | |
|
Re: How to substract date in perl?
by caedes (Pilgrim) on Feb 26, 2003 at 07:40 UTC | |
by Abigail-II (Bishop) on Feb 26, 2003 at 09:39 UTC | |
by caedes (Pilgrim) on Feb 26, 2003 at 09:45 UTC | |
by Abigail-II (Bishop) on Feb 26, 2003 at 09:56 UTC |