I need to sum two variable each of them have time in time format how can i add them to have result in the same time format.
$c1 = 29:00:00
$c2 = 05:10:00
$c = $c1 + $c2;
when i echo $c it gives result as 34
But i need result as 34:10:00
Please help me out.
Thanks
$c1 = 29:00:00
$c2 = 05:10:00
$c = $c1 + $c2;
when i echo $c it gives result as 34
But i need result as 34:10:00
Please help me out.
Thanks

