For example I read a file listed with dates:
in.txt: Mon Mar 30 10:00:00 2013 Sun Mar 29 10:00:00 2013 Sat Mar 28 10:00:00 2013
and I want to subtract 30 days from each date and save them to out.txt in exactly this same format Of course I can read the file and tokenize them, but I don't know how to subtract date(and with same format).. what is the proper module for this job?
In reply to Perl date calculation and formatting by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |