Customize Date Fields in Deliver
  • 15 Nov 2023
  • 1 minute read
  • Dark
    Light
  • PDF

Customize Date Fields in Deliver

  • Dark
    Light
  • PDF

Article Summary

If you find yourself needing to change the default formatting of a date/time merge field within your email you can simply edit the merge field within the body of your email.

For this example, we will use the {{HSV-Date}} merge field. To do this, click within the merge field to edit it and change your formatting to look like this:

{{HSV-Date | date: "dddd, MMMM d 'at' h:mm tt"}}

This would change your date and time to look like: Monday, July 7 at 9:00 AM

Some examples of different formats are:

{{HSV-Date | date: "ddd, MMM dd 'at' h:mm tt"}}

becomes Mon, Jul 07 at 9:00 AM

{{HSV-Date | date: "MM-dd-yyyy"}}

becomes 07-07-2019

This is a helpful way to reformat your date/time merge fields without needing to create custom date exports within your Query Builder.


Was this article helpful?