I need to subtract data time 2 times to get the final time, i got this "05:00"-"01:00"-"00:30".
$time1 = new dateTime('05:00');
$time2 = new dateTime('01:00');
$time3 = new dateTime('00:30');
$result = $time1->diff($time2);
and using this I could pull the difference from $time1 and $time2 but then i can't use ->diff again because it's dateInterval now.