MDN JavaScript round milliseconds to seconds code example
Example: javascript today date in epoch
const start = Date.now();
/*gives the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC.*/
const start = Date.now();
/*gives the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC.*/