Possible Duplicate:
PHP:find day difference between two date(“YmdHis”) reture
I have two dates
$departure_Dtae=2012-07-25T07:30:00
$arrival_date =2012-07-25T10:25:00
T means Time i.e. in 2012-07-25T10:25:00
date is 2012-07-25
and the time is 10:25:00
(hr: mts: s)
I need to find out the total hrs between these two times I.e. in this case the total hour is 2 hr and 55 minutes But I don't know how I calculate this in PHP Does anyone know this?