If date in date range

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

SYNTAX
{{#ifInDateRange date startDate endDatae}}true content{{else}}false content{{/ifInDateRange}}
PARAMETERS
Name Type Required Description
Date Datetime Required Date to be evaluated.
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:

{{#ifInDateRange Contact.LastOrderDate “10/1/2017” “10/31/2017”}}     You qualify for the follow discounts… {{/ifInDateRange}}

A. Contact’s LastOrderDate has the value of 10/15/2017

You qualify for the follow discounts…

B. Contact’s LastOrderDate has the value of 9/30/2017

No content is merged
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