IsTimeAfter

True if the current in-fiction time is at or after the given clock time. For “strictly before” use IsTimeBefore. The two functions partition the day cleanly: at any given moment exactly one of IsTimeBefore(t) and IsTimeAfter(t) is true.

Category: Time Returns: bool

Signature

IsTimeAfter(clockTime)

The argument is a clock time written as quoted “HH:MM” text, like ‘18:30’. The validator rejects anything else.

Examples

IsTimeAfter('12:00')            // true at noon or later
IsTimeAfter('06:00')            // true any time from 6 AM onward
IsTimeBefore('06:00') || IsTimeAfter('22:00')
                                // it's "night": before 6 AM or after 10 PM

Notes

  • IsTimeAfter is inclusive: IsTimeAfter('12:00') is true at or after exactly 12:00. This is the complement of IsTimeBefore, not a strict “after”.
  • Requires time to be enabled for the project (Project, then Time). With time disabled, any expression using this function fails validation.
  • The argument must be a quoted “HH:MM” literal, not a variable or a computed string. IsTimeAfter(var_deadline) fails validation even if var_deadline holds a well-formed time string at runtime; write the literal directly.
Docs last synced: 2026-07-18
Screenshot viewer