Get Timestamp in Seconds
suggest changeTo get the timestamp in seconds
Math.floor((new Date().getTime()) / 1000)
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents
To get the timestamp in seconds
Math.floor((new Date().getTime()) / 1000)