<?php $a = strtotime("2016-10-1 15:50:00"); $b = strtotime("2016-10-1 18:15:00"); echo date("H:i:s",$b-$a); $c = $a + date("H:i:s",$b-$a); echo date("H:i:s",$c); ?>
You have javascript disabled. You will not be able to edit any code.