after few tries I have failed getting the right result. Situation looks like this:
$morning = '01:05:12';
$evening = '14:05:29';
$sum = gmdate('H:i:s', strtotime($morning) + strtotime($evening));
echo $sum;
It doen't work, sum variable outputs 06:42:25, which if of course not correct. How should I fix this?
Thank you