If today not in date range

Conditionally merges different content depending on whether today falls outside two dates. Use it for the message that should show the rest of the time, such as your normal hours outside a holiday closure.

Syntax

{{#ifNotTodayDateRange startDate endDate timezone}}true content{{else}}false content{{/ifNotTodayDateRange}}

Parameters

Name Type Required Description
Start Date Date Required The first day of the range.
End Date Date Required The last day of the range.
Time Zone Text Optional The time zone used to decide what today is. Your account's default is used when you leave it out. For the values you can use, see the Microsoft Windows time zone list.
Note: Both dates are part of the range, so the true content shows only before the start day or after the end day, never on either of them.

Examples

The examples below are based on the following sample content:

{{#ifNotTodayDateRange "10/1/2026" "10/31/2026"}}Our standard hours of operation are 9 to 5.{{else}}We are remodeling but will be open soon!{{/ifNotTodayDateRange}}

A. Today's date is 10/15/2026

We are remodeling but will be open soon!

B. Today's date is 9/30/2026

Our standard hours of operation are 9 to 5.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us