Reference
?

db.hours

n hours expressed in milliseconds.
db.hours(n) → number

Returns n hours as milliseconds. Compose it with the other duration helpers and with db.ago or db.fromNow to build relative time bounds for filters.

Parameters
n
number
RequiredA count of hours.
A window of hours
const expiresAt = db.fromNow(db.hours(12));