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