I have got the array of time in following format
$array = ('00:01:39','00:03:30','00:05:09','00:10:00','00:00:39','00:02:34','00:06:29','00:26:09','00:13:30','00:07:33');
I want the result for total as 01:17:12
and avg as 07:43
I tried by converting the time to strtotime
,
and also tried using explode the given time using :
and processing with it.
but could not get the expected outcome.
I want the simplest way to find the expected result.
Thanks in Advance.