cutoffFor
@forge/monorepo / backend/src / cutoffFor
Function: cutoffFor()
cutoffFor(
input):string
Defined in: backend/src/retention/index.ts:75
The cutoff for a retention period, from a clock. Exported so a caller does not recompute the arithmetic.
Parameters
input
now
number
retentionDays
number
Returns
string