Considerations for specific field types
-
The
DATE_TIMEoperator: When using aDATE_TIMEoperator, you can opt to provide the time offset for your timezone or use UTC. For example, searching for records that were created after aDATE_TIMEof2022-04-25T13:00:00+02:00should give you the same results as using the UTC equivalent date time of2022-04-25T11:00:00+00:00. When using just the date, the local time zone will always be used. -
The
BEFOREoperator: When using aBEFOREoperator for dates, the date provided will not be included. If you wish to include the date provided, use theBEFORE_INCLUSIVEoperator. -
The
BETWEENoperator: When using theBETWEENoperator with two dates, the start date (valueparameter) will be inclusive while the end date (secondValueparameter) will be exclusive. This means that if you wish to include a record in your results that, for example, took place at 12:00pm on the 22nd July 2023, you should use22023-07-22T12:01:00as your end timestamp. -
The
EQUALSandEQUALS_CASE_SENSITIVEoperators: If usingEQUALSas the operator, true or false values are cast to boolean sotrue,"true", and"TRUE"should all yield the same results. This includes checkbox type custom field definitions where the value is returned as an uppercase string of either"TRUE"or"FALSE". This is not the case when usingEQUALS_CASE_SENSITIVEas the operator, so, if searching based on a checkbox type custom field definition with theEQUALS_CASE_SENSITIVEoperator, you will need to provide the value as an uppercase string.