how to get time from timestamp in nodejs code example Example: nodejs current timestamp Math.floor(new Date() / 1000)