jose/lib/help/epoch.js
2019-01-19 00:33:45 +01:00

1 line
64 B
JavaScript

module.exports = (date = Date.now()) => Math.floor(date / 1000)