Skip to main content

IS_BEYOND_LAST_DAYS

Check whether a timestamp is earlier than today's UTC midnight minus a specified number of days.

Return Type​

Boolean.

Inputs​

arg is a required DateTime expression. Required scalar offsetDays is a non-negative integer.

Syntax and Example​

IS_BEYOND_LAST_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.