Dapatkan JS Timestamp JS
Math.floor(Date.now() / 1000)
Bright Booby
Math.floor(Date.now() / 1000)
var a = Date.now();
// Returns miliseconds since epoch
let nowInMs = Date.now();
let nowInSecond = Math.round(nowInMs/1000);
console.log(nowInSecond); //