If today not in date range

Conditionally merges different content depending on if the current date is not between the start and end date.

SYNTAX
{{#ifNotTodayDateRange startDate endDatae}}true content{{else}}false content{{/ifNotTodayDateRange}}
PARAMETERS
Name Type Required Description
Start Date Datetime Required Start date of the date range.
End Date Datetime Required End date of the date range.
Time Zone Text Optional Time zone for which the date-time will be displayed.

For a list of time zones, refer to the Microsoft Windows Time Zone List.

EXAMPLES

The examples below are based on the following sample content:

{{#ifNotTodayDateRange “10/1/2017” “10/31/2017”}}     Our standard hours of operation are… {{else}}     We are remodeling but will be open soon! {{/ifNotTodayDateRange}}

A. Today’s date is 10/15/2017

We are remodeling but will be open soon!

B. Today’s date is 9/30/2017

Our standard hours of operation are…
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