Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment from seconds

let seconds = 456;

console.log(moment.utc(seconds*1000).format('HH:mm:ss')); // 00:07:36

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #moment #seconds
ADD COMMENT
Topic
Name
5+6 =