When using a custom date field as a trigger condition, what does "is within the previous" and "is within the next" do?

Question

When I use a custom date field as a trigger condition, what do Is within the previous and Is within the next do?

Answer

Is within the previous and Is within the next evaluate conditions based on an integer number of days. Each day is translated into 24-hour multiples on the backend.

For example, Custom date field | Is within the next | 3 means the condition will evaluate as true when the timestamp of the custom date field is within the next 72 hours.

The timestamps for date fields are a more complicated issue since they’re not exposed anywhere in the UI or the API. In general, the hidden timestamp related to a custom date uses 00:00 to 23:59. When a trigger uses the condition Is within next | 1 day, the trigger would be expected to run at 00:01 onwards.

For more information about creating triggers, see the article: Trigger conditions and actions reference.