Format date
Merges a date held in a contact's field, written however you need. Use it to show a renewal or delivery date in a readable style rather than as a raw stored value.
Syntax
{{formatDate date format culture}}
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Date | Date | Required | The date to format, usually a contact field. |
| Format | Text | Optional | How the date is written, such as MM/dd/yyyy. The default for the field's type is used when you leave it out. |
| Culture | Text | Optional | The culture used to write month names and separators, such as pt-BR. Your account's default is used when you leave it out. |
For formats, see the standard date and time formats and the custom date and time formats.
Note: This formats a date you supply. To merge the current date instead, use Now.
Examples
The examples below are based on the following sample content:
Renewal date: {{formatDate Contact.RenewDate "MM/dd/yyyy"}}
A. The contact's RenewDate field has the value 10/17/2026 11:39 AM
Renewal date: 10/17/2026
B. The same value, with a format of dd MMM yyyy and a culture of pt-BR
Renewal date: 17 out 2026
C. The same value, with a format of yyyy
Renewal date: 2026