How to find average of something like this in php $a = 01:04:06:02:55:28 $b = 03:04:06:02:54:34?

$a = 01:04:06:02:55:28  $b = 03:04:06:02:54:34  //format("%Y:%M:%D:%H:%I:%S")  

I would like to find average of these two.

In this case $a is time taken to finish task 1 and $b is time taken to finish task 2 Now I would like to know average time taken by the person to complete two tasks.


You can calculate the mean of the two timestamp. live demo