newbie01.perl has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
Need some advise please on how do date arithmetic/calculation.
Basically, I have a CSV delimited file that I need to do some date calculations on.
Am parsing the fields as $date1 and $date2 and I need to do the time difference as $date2-$date1
Example of $date1 and $date2 below:
$date1="31/12/2009 6:14:25 p.m." $date2="31/12/2009 6:29:26 p.m."
Am still Googling and posting this at the same time ... :-)
Any suggestion will be very much appreciated. Thanks in advance.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: More Date Arithmetic/Manipulation: Question
by marto (Cardinal) on Jan 22, 2010 at 09:38 UTC | |
Re: More Date Arithmetic/Manipulation: Question
by Your Mother (Archbishop) on Jan 22, 2010 at 17:44 UTC | |
Re: More Date Arithmetic/Manipulation: Question
by Herkum (Parson) on Jan 22, 2010 at 14:40 UTC | |
Re: More Date Arithmetic/Manipulation: Question
by furry_marmot (Pilgrim) on Jan 22, 2010 at 19:12 UTC |