I have 2 dates in mysql:
2018-07-13 13:00:00 - data
2018-07-14 16:01:00 - godzina
$timestamp1 = strtotime($data['data']);<br>
$timestamp2 = strtotime($data['godzina']);<br>
$time_difference = $timestamp2 - $timestamp1;
$time_total = ($time_difference/3600);
echo "td".$time_total."/td";
Now it returns: 27.016666666667
How to change it to: 27:01
in table?