0
How to get the Unix Time in JavaScript?
Posted by Joys of Programming on in JavaScript
Using Date, we can display the time in UTC. getTime() can be used to get the time in epochs often known as the Unix Time or the Epoch Time, which is the number of seconds passed since January 1, 1970 The output of this script will be