I am developing a web-based application to capture total time of playlist of video. my main problem is that I don't know how can I calculate the total time from an array e.g: 30:00 + 30:00 = 01:00. Time is in mm:ss output I need in hh:mm
var time = ["13:24", "4:28", "7:29"];
for (k in time){
add(time[k].split(":"));
}