I am wanting to Calculate Hours & Minutes between two Dates/Time.
I have four fields: ss_datestart, ss_dateend and ss_timestart and ss_timeend.
I want to display the hours and minutes between two dates/times.
$ss_datestart $ss_timestart --- $ss_dateend $ss_timeend
05-12-2009 13:44:31 --- 05-12-2009 17:55:31
I want it to then display the difference in hours and minutes only, so it would return: 04h 11m (ignoring the seconds of course).
And if it were something that went over a day so:
05-12-2009 13:44:31 --- 06-12-2009 17:55:31 <--- This would return: 28h 11m
FYI: Dates are dd-mm-yyyy