?
db.now
The current time as unix epoch milliseconds.
db.now() → number
Returns the current time as unix epoch milliseconds, the representation every timestamp column and the automatic created_at and updated_at use. Compose it with the duration helpers to build time windows for filters.
Current time
const ts = db.now();