Skip to main content

DateValueMatcher

A date value with a comparison operator used as a date range boundary.

Notesโ€‹

Specifies a date value and a comparison operator (such as before, after, or equals) used as one bound of a date range condition. An optional time zone can be set for accurate date interpretation.

Usageโ€‹

date: string
operator: gt
zoneId: string

Propertiesโ€‹

PropertyTypeRequiredDefault
datestringNo-
operatorenumNo-
zoneIdstringNo-

Property Detailsโ€‹

dateโ€‹

The date to compare against, absolute or relative.

Absolute dates are written yyyy-MM-dd or yyyy-MM-ddThh:mm:ss[.SSS] โ€” 2015-05-31, 2015-05-31T22:44:15.

Relative dates start from TODAY (current day, no time) or NOW (current day with time), optionally offset by a number of units: NOW-7d for a week ago, TODAY+1M for next month. Units are Y, M, D, h, m, s. Append * โ€” NOW-7d* โ€” to have the reference moment refresh on each evaluation rather than being fixed the first time it is used.

operatorโ€‹

The logical operator used to combine multiple conditions (AND or OR).

Allowed Valuesโ€‹

  • gt
  • ge
  • eq
  • le
  • lt

zoneIdโ€‹

Time zone for this matcher's date when the expression does not carry one. Takes precedence over the condition-level conditionZoneId.