AI-generated Key Takeaways
-
Rule items can be created using a date operation.
-
The
operator
field, a required string representing a date comparison operator, must be populated when creating a new date rule item. -
The
value
field is a string in YYYY-MM-DD format representing the date value for comparison, reported in the customer's time zone. -
The
offset_in_days
field is an int64 representing a relative date value offset from the current date, and if bothvalue
andoffset_in_days
are present,value
takes precedence.
A rule item composed of a date operation.
Fields | |
---|---|
|
Date comparison operator. This field is required and must be populated when creating new date rule item. |
|
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. |
|
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. |