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