var ts = Math.round((new Date()).getTime() / 1000); console.log(ts);
You can check it through http://www.unixtimestamp.com/ service.
var ts = Math.round((new Date()).getTime() / 1000); console.log(ts);
You can check it through http://www.unixtimestamp.com/ service.