Секунды до HH MM SS JavaScript
new Date(SECONDS * 1000).toISOString().substr(11, 8)
DEVWAX
new Date(SECONDS * 1000).toISOString().substr(11, 8)
var minutes = totalMinutes % 60;
var hours = (totalMinutes-minutes)/60;
var output = hours + ':' + minutes;