Answers for "how to get day hour and minute and second from epoch time in js"

1

epoch to date javascript

var myDate = new Date(1601528702*1000);
console.log(myDate.toLocaleString());
Posted by: Guest on October-26-2021
1

get epoch timestamp js

Math.floor(Date.now() / 1000)
Posted by: Guest on September-04-2020

Code answers related to "how to get day hour and minute and second from epoch time in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language