dateSubtract
Subtracts time from the date. The unit argument can be one of: "years", "quarters", "months", "weeks", "days", "hours", or "minutes".
dateSubtract(parseDate("2023-07-10T17:35"), 1, "days")
=
July 9, 2023 5:35 PM