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.

Reply via email to