Adding timestamps together to get total hours and minutes
<p>I am trying to write a function that will add time stamps together to get a sum of all. For example:<code>11:30 + 12:00 + 15:35 = 39:05</code> I am unsure of how to accomplish this. I have included code below that I have tried but it does not give the desired result:</p>

<pre><code>$TotalTime = strtotime($data['TotalSunday']) + strtotime($data['TotalMonday']) 
    + strtotime($data['TotalTuesday'])
    + strtotime($data['TotalWednesday'])    + strtotime($data['TotalThursday'])
    + strtotime($data['TotalFriday']) + strtotime($data['TotalSaturday']);
    $data['TotalTime'] = gmdate("h:i", $TotalTime);
</code></pre>
