IS_WITHIN_NEXT_DAYS
Check whether a timestamp falls within the specified future-day window, including today.
Return Type
Boolean.
Inputs
arg is a required DateTime expression. Required scalar offsetDays is a non-negative integer.
Syntax and Example
IS_WITHIN_NEXT_DAYS:
arg:
DATE_TIME_FROM:
arg:
TEXT: "2026-06-15T12:00:00Z"
format: ISO_8601
undeterminedIf:
invalidFormat: The timestamp cannot be parsed.
offsetDays: 14
Behavior and Missing Values
These checks use calendar-day boundaries at UTC midnight rather than a rolling interval measured from the current clock time. The example's result depends on the evaluation date. Validate required dates before comparison, and use fixture context.snapshotTime to cover boundary dates and missing data.