Conditionals
Documentation for version 2.1 or later
Last updated
Documentation for version 2.1 or later
Last updated
The merge tag
and value
fields can be any ISO-standardized date-time format
With this comparison you can check if the date is before or after an hour during the day, using a 24-hour format.
Ie. the date with time 2:12 pm will produce the following results:
<after hour> 14 = β
<after hour> 13 = β
<before hour> 14 = β
<before hour> 15 = β
You can check whether the date is a specific day of the week using numbers 1-7, where:
Monday - 1
Tuesday- 2
Wednesday - 3
Thursday - 4
Friday - 5
Saturday - 6
Sunday - 7
You can use multiple values here. If you'd like to check if a date is Monday or the weekend, you'd set the value to: 1,6,7
.
Similarly to "Is day of week", you can check if a date is a specific month using numbers 1-12, where:
January - 1
February 2
March - 3
April - 4
May - 5
June - 6
July - 7
August - 8
September - 9
October - 10
November - 11
December - 12
You can use multiple values here. If you'd like to check if a date is the last quarter of the year, you'd set the value to: 10,11,12
.