I've got an Array of time object like which consist of values the user will add. The array could look like this. For simplicity I've just added 01:01:01 to each date value.
let timeObjects = ["01:01:01", "01:01:01", "01:01:01"];
What I want to do is go through the array, and find the total amount of time. So the desired result would be "03:03:03". I've checked for solutions but not been able to solve this yet. Hope someone with experience in date formatting can help me out. FYI I'm using VueJS, Mongo and Express.