UserListDateRuleItemInfo

  • Rule items can utilize date operations for comparisons.

  • The operator field is mandatory and specifies the date comparison type.

  • You can define the date to compare against using a specific value in YYYY-MM-DD format or an offset_in_days from the current date.

  • The value field takes precedence over offset_in_days if both are provided.

A rule item composed of a date operation.

Fields

operator

UserListDateRuleItemOperator

Date comparison operator. This field is required and must be populated when creating new date rule item.

value

string

String representing date value to be compared with the rule variable. Supported date format is YYYY-MM-DD. Times are reported in the customer's time zone.

offset_in_days

int64

The relative date value of the right hand side denoted by number of days offset from now. The value field will override this field when both are present.