node get unix epoch time code example Example: node get unix timestamp Math.floor(new Date() / 1000) // in seconds