I'm trying to sum some time-format param in format 00:00:00.000, is there some library or javascript function I could use easily? some function in moment.js that I miss?
the code expected is
//variables time1 and time2 are in format 'hh:mm:ss.SSS' hour, minutes, seconds, milliseconds.
let time1='00:00:04.666';
let time2='00:00:09.335';
console.log(sum(time1,time2));
//expected output is '00:00:13.001'
Do you have some ideas that may help?