Days ago
Merges the number of days between a date and today. Use it for "you joined us 90 days ago" or "your trial ended 3 days ago", without having to work the number out when you write the campaign.
Syntax
{{daysAgo data culture timezone}}
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Data | Date | Required | The date to count from. |
| Culture | Text | Optional | The culture used to read the date. Your account's default is used when you leave it out. |
| 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: Culture comes before time zone, which is the opposite order to most of the other date helpers. If you only need a time zone you still have to supply a culture first.
Note: A date in the future gives a negative number, so "Expires {{daysAgo Contact.expireDate}} days ago" reads badly for anyone whose date has not passed. Wrap it in If date in date range, or word it so either sign still makes sense.
Examples
The examples below are based on the following sample content:
Expired {{daysAgo Contact.expireDate}} days ago
A. The contact's expireDate is 10/17/2026 and today is 10/20/2026
Expired 3 days ago
B. The contact's expireDate is 10/17/2026 and today is 10/17/2026
Expired 0 days ago
C. The contact's expireDate is 10/17/2026 and today is 10/15/2026
Expired -2 days ago