js time now in unix time stamp code example
Example 1: javasctipt unix timestamp from date
Math.round(new Date().getTime() / 1000).toString()
Example 2: nodejs current timestamp unix
Math.floor(+new Date() / 1000)
Math.round(new Date().getTime() / 1000).toString()
Math.floor(+new Date() / 1000)