how can i get this to output
HH:MM format?
$to_time = strtotime("2008-12-13 10:42:00"); <--AM
$from_time = strtotime("2008-12-14 8:21:00"); <-- PM
$stat = round(abs($to_time - $from_time) / 60,2). "min";
what i got from this is 1299 mins
but i cant figure out how to make it output
21h:41m