Notion Templates
/
Wikis
/
🔥
Red's Notion Formula Sheet
/
dateSubtract
dateSubtract
Description
Subtract from a date. The last argument, unit, can be one of: years, quarters, months, weeks, days, hours, minutes, seconds, milliseconds.
Tags
Functions
Type
Date
Syntax
dateSubtract(date, number, text)
Example
dateSubtract(prop("Alarm Set"), 7, "hours")
Template Example
↙️
Sleep Tracker