सेकंड में जावास्क्रिप्ट टाइमस्टैम्प
const ts = () => Math.floor(new Date().getTime() / 1000);
जावास्क्रिप्ट टाइमस्टैम्प मिलता है
var currentTimeInSeconds=Math.floor(Date.now()/1000); //unix timestamp in seconds
var currentTimeInMilliseconds=Date.now(); // unix timestamp in milliseconds