generate timestamp in node js code example
Example 1: js timestamp
var timestamp = new Date().getTime();
Example 2: get epoch timestamp js
Math.floor(Date.now() / 1000)
var timestamp = new Date().getTime();
Math.floor(Date.now() / 1000)