new Date().getTime() new Date().valueOf()
const currentTimeInMilliseconds=Date.now(); // unix timestamp in milliseconds