Hi to all !!!

Now I have a new trouble with dates. How can I know the date of 72 days ago ?. 
For example for get 2005-12-05, I do this

use POSIX qw(strftime);

my $today = strftime "%Y-%m%d", localtime();

I would like to get this date: 2005-09-21.

Thanks list.

-- 
_______________________________________________
Get your free email from http://mymail.bsdmail.com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to