I have two times in my database:
$time1 = "02:00:03";
$time2 = "04:00:04";
and I want to make add them $time1 + $time2
what is the best way to do that?
I have no problem with the diference cause I can do something like this:
$end = new DateTime($this->hora_final);
$start = new DateTime($this->hora_inicio);
$diff = $end->diff($start);
$diff->format('%H:%I:%S');
and it works perfectly... but i can't seem to find a way to add them... any ideas?
Regards