Digital Marketing

Get a timestamp in #JavaScript

On almost all current browsers you can use to get the UTC timestamp in milliseconds;
To get the timestamp in seconds, you can use:

Math.floor( / 1000)

> Math.floor( / 1000)


Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership