Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript convert milliseconds to hh mm ss

var result = Math.floor(myDuration/(1000*60*60)) + ":" + Math.floor(myDuration/(1000*60))%60 + ":" + Math.floor(myDuration/1000)%60;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #convert #milliseconds #hh #mm #ss
ADD COMMENT
Topic
Name
2+7 =