DaysSinceStart
Day() - 1. A 0-indexed day count, for arithmetic where the first day
should read as 0 rather than 1.
Category: Time Returns: int
Signature
DaysSinceStart()
No arguments.
Examples
DaysSinceStart() == 0 // still day one
DaysSinceStart() >= 2 // day three or later
Day() == DaysSinceStart() + 1 // always true
Notes
- Requires time to be enabled for the project (Project, then Time). With time disabled, any expression using this function fails validation.
- Exists purely for arithmetic convenience. Prefer Day in
visibility and condition checks written for a person to read: “day 3 or
later” reads more naturally as
Day() >= 3thanDaysSinceStart() >= 2.