On Unix, I can run date '+%s'
to get the amount of seconds since epoch. But I need to query that in a browser front-end, not back-end.
Is there a way to find out seconds since Epoch in JavaScript?
This question is related to
javascript
datetime
Source: Stackoverflow.com