Datetime Filter Operators
Supported Operators
Jetstack's datetime-family filters support:
nullnot_nullequalequal_advancednot_equalnot_equal_advancedless_thanless_than_advancedgreater_thangreater_than_advancedbetweenpreset
Operator Semantics
Direct Value Operators
equalnot_equalless_thangreater_thanbetween
Use these when the date boundary is explicit.
Advanced Operators
equal_advancednot_equal_advancedless_than_advancedgreater_than_advanced
These operators first evaluate an expression and then normalize it as a datetime boundary. Use them when the comparison value should be computed from runtime context.
Presets
preset uses built-in platform ranges such as:
- today
- tomorrow
- yesterday
- this week
- last 7 days
- this month
- last 30 days
- previous month
- previous 3 months
- this year
- future and past variants
Why This Family Deserves Special Care
Date filtering often looks simple in the UI but carries subtle meaning:
- inclusive vs exclusive boundaries
- current day vs full timestamp
- dynamic comparison values
- locale and timezone expectations
The datetime family exists to make those rules explicit.
Example
Use less_than_advanced when a field should be filtered by "before the date stored in another field" rather than before a fixed date entered by the user.
Best Practices
- use presets whenever the business concept matches a known preset
- use advanced operators when the boundary depends on another runtime value
- be explicit about whether a condition is "before", "after", or "within range"