I have an array like following and inside it 2 arrays that have a value and want to know how to get the sum of both hours for example 01:00 + 04:00 = 05:00
Array:
Array
(
[0] => stdClass Object
(
[total_time] => 01:00
}
[1] => stdClass Object
(
[total_time] => 04:00
}
}
thank you.