To get the timestamp in seconds
Math.floor((new Date().getTime()) / 1000)