When creating or editing documents or document templates, AdvisorEngine CRM features a special merge field that allows you insert the current date and/or time in a format of your choosing into the final merged document (or email).
Use the option to see if the merge field will produce the results you intend.
To edit the format of the date/time field, right click on the {DATE} entry and choose .
To remove the date/time field, right click on the {DATE} entry and choose .
The following letter codes can be used to create custom date and time formats for use with the DATE merge field. Please note that capitalization matters! You can insert whatever punctuation you’d like between the letter codes for additional formatting.
The example column shows the output you would receive on Monday, February 3rd, 2018 at 4:05:06pm.
| Letter Code | Output | Example |
| d | date | 3 |
| dd | date (leading zero) | 03 |
| ddd | day (abbreviated) | Mon |
| dddd | day | Monday |
| M | month (numerical) | 2 |
| MM | month (numerical, leading zero) | 02 |
| MMM | month (text, abbreviated) | Feb |
| MMMM | month (text) | February |
| yy | year (abbreviated) | 18 |
| yyyy | year | 2018 |
| h | hour (12-hour) | 4 |
| hh | hour (12-hour, leading zero) | 04 |
| H | hour (24-hour) | 16 |
| HH | hour (24-hour, leading zero) | 16 |
| m | minutes | 5 |
| mm | minutes (leading zero) | 05 |
| s | seconds | 6 |
| ss | seconds (leading zero) | 06 |
| t | A or P indicator | P |
| tt | AM or PM indicator | PM |