Time Conditions
Time conditions allow rules to be active only during specific temporal windows.
Date / DateTime
Activates a rule within a specific date range or on a specific date.
- Format:
YYYY-MM-DDfor a single date,YYYY-MM-DD..YYYY-MM-DDfor a range - Example:
2026-06-01..2026-06-30 - The rule applies only when the current date falls within the range (inclusive)
Days of Month
Activates a rule on specific days of the month (1-31).
- Value: comma-separated list of day numbers
- Example:
1,15,30— applies on the 1st, 15th, and 30th
Weekdays
Activates a rule on specific days of the week.
- Value: day names (e.g.,
Monday,Wednesday,Friday) - Also accepts numeric values:
0(Sunday) through6(Saturday)
Months
Activates a rule during specific months.
- Value: month names (e.g.,
January,December) or numeric (1-12)
Hours
Activates a rule during specific hours of the day.
- Value: hour numbers (0-23), can specify a range with
.. - Example:
9..17— applies between 9 AM and 5 PM
Condition Match Mode
When multiple time conditions are set, they follow the rule's global conditions_match_mode:
- ALL (AND): all time conditions must be satisfied
- ANY (OR): any one time condition is sufficient