Autoresponder Date Formats
The default date format on email autoresponders is mm/dd/yyyy. To use an alternate date format, set the token name followed by a pipe and the desired format. Enclose it all in brackets. (i.e. [orderDate|m/d/Y]
).
Use the following key and examples to customize date tokens. Formatting is case sensitive.
Most special characters, such as colon, hyphen, and forward slash are allowed.
Date Format Key
Description | Examples | Character |
---|---|---|
--- | --- | Days |
Numeric day of the month with leading zeroes | 01, 31 | d |
Numeric day of the month without leading zeroes | 1, 31 | j |
Suffix corresponding to the day | st, nd, rd, th | S |
Day of the week | Monday, Sunday | l (lowercase L) |
--- | --- | Months |
Numeric month with leading zeroes | 01, 12 | m |
Numeric month without leading zeroes | 1, 12 | n |
Shorthand for a month | Jan, Dec | M |
Full month | January, December | F |
--- | --- | Years |
Shorthand for a year | 99, 03 | y |
Full year | 1999, 2003 | Y |
--- | --- | Time |
Lowercase am or pm | am, pm | a |
Uppercase AM or PM | AM, PM | A |
Hour (12 Hour format) | 1, 12 | g |
Minute | 00, 59 | i |
Second | 00, 59 | s |
Timezone | EST, MDT, +05 | T |
The examples below are common date and time formats. You are not restricted to the provided examples.
Examples
Desired Format | Token Format | Example |
---|---|---|
mm/dd/yyyy (default) | m/d/Y | 01/15/2025 |
mm/dd/yyyy 00:00 AM | m/d/Y g:i A | 01/15/2025 10:30 AM |
Weekday, Month dth, yyyy | l, F jS, Y | Wednesday, January 15th, 2025 |
Mmm. dth yyyy | M. d Y | Jan. 15th 2025 |
dd-mm-yy | d-m-y | 15-01-25 |
Last updated