Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Passado os segundos, retorna um valor no formato HH:MM:SS
- * @param seconds
- * @returns {string}
- */
- const getHorasMinutosSegundos = (seconds) => {
- return new Date(seconds * 1000).toISOString().substr(11, 8);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement