dateSubtract

Subtracts time from the date. The unit argument can be one of: "years", "quarters", "months", "weeks", "days", "hours", or "minutes".
Accepts
Returns
Syntax
dateSubtract(date, num, unit) date.dateSubtract(num, unit)

dateSubtract(parseDate("2023-07-10T17:35"), 1, "days")
=
July 9, 2023 5:35 PM "@July 9, 2023 5:35 PM"