Get Timestamp in Seconds

suggest change

This is the Unix time in whole seconds. Math.floor drops the fractional second. For the current time that value is positive, so the result is the same as truncating toward zero.

Math.floor(Date.now() / 1000)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents