dayjs get unix timestamp code example Example: nodejs current timestamp unix Math.floor(+new Date() / 1000)