Available In: Docs Made Easy Basic and Pro
Parameter Requirement : None
Parameter Description : The Date Format parameter in Docs Made Easy allows you to display Salesforce date fields in a variety of regional or stylistic formats within your Word templates. This ensures that dates are presented in a clear, readable, and context-appropriate manner, based on your audience or business standards.
By applying the \@ switch, you can customize the output format of any date field using a combination of supported date specifiers.
FORMAT | SYNTAX | OUTPUT |
Day-Month-Year (US Standard) | {{Account.CreatedDate \@ "dd-MM-yyyy"}} | 03-06-2025 |
Month-Day-Year (US Standard) | {{Account.CreatedDate \@ "MM-dd-yyyy"}} | 06-03-2025 |
Day/Month/Year (EU Style) | {{Account.CreatedDate \@ "dd/MM/yyyy"}} | 03/06/2025 |
Month/Day/Year (EU Style) | {{Account.CreatedDate \@ "MM/dd/yyyy"}} | 06/03/2025 |
Abbreviated Month Format | {{Account.CreatedDate \@ "MMM dd, yyyy"}} | Jun 03, 2025 |
Full Month Format | {{Account.CreatedDate \@ "MMMM dd, yyyy"}} | June 03, 2025 |
Note:
Some formats (like "MMMM d, yyyy") do not include a leading zero on the day value (3 instead of 03). This behavior is standard in Word formatting.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article