var timestamp = new Date().getTime();
const currentTimeInSeconds=Math.floor(Date.now()/1000); //unix timestamp in seconds