If birthday not in date range
Conditionally merges different content depending on if the birthday provided is not between the start and end date.
SYNTAX
{{#ifnotbirthdaydaterange date startDate endDatae}}true content{{else}}false content{{/ifnotbirthdaydaterange}}
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:
{{#ifnotbirthdaydaterange Contact.Birthday “10/1/2022” “10/31/2017”}} You qualify for the follow discounts… {{/ifnotbirthdaydaterange}}
A. Contact's Birthday has the value of 9/30/2022
You qualify for the follow discounts…
B. Contact's Birthday has the value of 10/15/2022
No content is merged