Q: How to get Unix timestamp using JavaScript?

Unix Timestamp JavaScript

Answer:

To get Unix timestamp using JavaScript:

var unixTime = Math.floor(Date.now()/1000);
    No comments found for this tutorial, be the first to leave a comment!

Answered by
Double

Last updated on
Apr 17, 2017

Share