Day

The current day number, 1-indexed. Increments every time the in-fiction clock crosses midnight, regardless of what clock time the project’s Time config uses as its start.

Category: Time Returns: int

Signature

Day()

No arguments.

Examples

Day() == 1                              // still the first day
Day() > 3                               // day 4 or later
Day() % 7 == 0                          // every seventh day

Notes

  • Requires time to be enabled for the project (Project, then Time). With time disabled, any expression using this function fails validation.
  • Day 1 covers the run’s start time through the next midnight, even if the project’s Time config starts partway through the day (say, 22:00). The boundary that increments Day is always midnight, not a fixed 24-hour multiple of the elapsed counter.
  • For 0-indexed arithmetic, use DaysSinceStart (Day() - 1). AbsoluteDay is the same value under a different name.
Docs last synced: 2026-07-18
Screenshot viewer