Marketo date token shows in a strange way in an email | Community
Skip to main content
Level 2
April 28, 2023
Solved

Marketo date token shows in a strange way in an email

  • April 28, 2023
  • 2 replies
  • 1273 views

Hello,

 

I have a Marketo Date token in my event program. If I select a date from the Calendar as "April 27, 2023", it shows as "2023-04-27" in my email. Can I make the date to show as "April 27, 2023" or at least "Apr 27, 2023" in my email?

 

Thanks,

Yavor

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darshil_Shah1

Velocity can change the date formats for the data stored in fields (custom/standard object fields that Markato has access to), but since you're storing the date in a custom token itself, I'd advise you to create a simple text token with the date added in the format you like to display in the email.

2 replies

Darshil_Shah1
Adobe Champion and Community Advisor
Darshil_Shah1Adobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
April 28, 2023

Velocity can change the date formats for the data stored in fields (custom/standard object fields that Markato has access to), but since you're storing the date in a custom token itself, I'd advise you to create a simple text token with the date added in the format you like to display in the email.

SanfordWhiteman
Level 10
April 28, 2023

(also not really strange, that’s standard ISO yyyy-MM-dd format)