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); //
const start = Date.now();
/*gives the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC.*/