Jan 16.2023 — #You can get the current UNIX timestamp (the number of seconds since the Unix Epoch, January 1, 1970 at 00:00:00 UTC) using the Date.now() function or the Date.getTime() function in JavaScript.
let timestamp = new Date().getTime() / 1000; console.log(Math.round(timestamp))
https://jsfiddle.net/9pv5q6nw/
@hqNice work @Sibert! To keep things easy to read, we took your other replies and added them to this initial reply. We're realizing we need a method to edit submitted answers!Jan 16.2023