Does not get the time difference correct in PHP
<pre><code>$time1 = "01:00";
$time2 = "04:55";
list($hours1, $minutes1) = explode(':', $time1);
$startTimestamp = mktime($hours1, $minutes1);

list($hours2, $minutes2) = explode(':', $time2);
$endTimestamp = mktime($hours2, $minutes2);

$seconds = $endTimestamp - $startTimestamp;
$minutes = ($seconds / 60) % 60;
$hours = round($seconds / (60 * 60));

echo $hours.':'.$minutes;
exit;
</code></pre>

<p>Outputs 4:55, should be 3:55 ?</p>

<p>Whats wrong here? If it is 01:00 and 02:00, it works fine, but not with the above?</p>
