subtractDays()
Moves a date back by a number of days — addDays the other way. ISO in, ISO out; milliseconds in, milliseconds out.
subtractDays(date: any, days: number) → any
Example
{{ subtractDays("2026-07-21T09:00:00Z", 7) }}Gives "2026-07-14T09:00:00.000Z"
Try it with your own values
Expression
{{ subtractDays("2026-07-21T09:00:00Z", 7) }}