The stupid question is the question not asked | |
PerlMonks |
Re: How to substract date in perl?by JayBonci (Curate) |
on Feb 26, 2003 at 06:56 UTC ( [id://238679]=note: print w/replies, xml ) | Need Help?? |
Date::Calc is really useful for this sort of item.
Using localtime() is a little bit easier (and more portable, if that matters) than calling date from the shell. Good luck. --jaybonci
In Section
Seekers of Perl Wisdom
|
|