How to change the date format of the mail merge fields in emails?

Modified on: Mon, 30 Jan, 2023 at 3:17 PM

This article covers

Mail merge timestamp timezone



You have included {{subscription.created_at | format : dd-MM-yyyy }} mail merge timestamp in your email template, but the format is still displayed as 20-Aug-2022 (default format) instead of 20-08-2022 when you send test emails. 


Date formats won’t be applied in test emails as you use static data for mergevars.

Test emails are meant to be used only for checking out the look and feel of the template in

different mail clients (especially when a custom HTML template is configured).

To test different date formats, please send an actual mail.

Instead of repeatedly editing and saving the base templates, you can use the “Edit” functionality to send sample emails with different date formats.

Here’s how the yyyy-MM-dd format will look:

Related articles and Documentation

Mail Merge Fields For Formatting Timestamp

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.