anyone know whats the problem/reason with this codes?
1. calculation with fix time
<?php
date_default_timezone_set('UTC');
$deff = strtotime("20:00:00")-strtotime("19:00:00");
echo date('h:i', $deff );
OUTPUT = 01:00
//above was correct
?>
2.output should be in munite, but the output is 12:50 what's wrong with this code?
date_default_timezone_set('UTC');
$deff = strtotime("20:00:00")-strtotime("19:10:00");
echo date('h:i', $deff );
OUTPUT = 12:50
INSTEAD OF = 00:50
anyone help would greatly appreciated..