Days ago
Merges the number of days between the current date and the date passed.
SYNTAX
{{daysAgo data culture timezone}}
PARAMETERS
Name | Type | Required | Description |
---|---|---|---|
Data | Datetime | Required | Data to be evaluated. |
Time zone | Text | Optional | Time zone used to determine the current date. |
Culture | Text | Optional | Text that denotes the culture to be used. |
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:
Expired {{daysAgo Subscriber.ExpireDate}} days ago
A. Subscriber’s ExpireDate field has the value 10/17/2019 and today’s date is 10/20/2019
Expired 3 days ago
B. Subscriber’s ExpireDate field has the value 10/17/2019 and today’s date is 10/17/2019
Expired 0 days ago
C. Subscriber’s ExpireDate field has the value 10/17/2019 and today’s date is 10/15/2019
Expired -2 days ago