javascript convert milliseconds to hh mm ss
snippet in javascript

javascript convert milliseconds to hh mm ss

user922

var result = Math.floor(myDuration/(1000*60*60)) + ":" + Math.floor(myDuration/(1000*60))%60 + ":" + Math.floor(myDuration/1000)%60;