सेकंड में जावास्क्रिप्ट टाइमस्टैम्प
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