Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to change date format in Email Template of Dynamics365?

Posted on by 40

I want to get the date in this format - MM-dd-yy. For example: 10-12-23. I'm writing this code but don't getting the desired solution. <a href="{!<entity_name>;}">{<entity_name>:<attribute>/@date;} Check-In Link</a> What should I write in the date part? Please help.  SkyWard Alpine

  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,454 Super User 2024 Season 1 on at
    RE: How to change date format in Email Template of Dynamics365?

    Hello User,

    You can user other formats also please refer below article.

    blog.magnetismsolutions.com/.../how-to-format-a-date-time-field-in-a-microsoft-dynamics-crm-mail-merge-template-to-exclude-the-time-

    if you need detailed HTML code you can get it from the respective solutions using HTML decoder.

    mahadeomatre.blogspot.com/.../email-template-show-date-or-time.html

    Thank you,

    Amit Katariya

  • Suggested answer
    Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: How to change date format in Email Template of Dynamics365?

    Hi  Anacastillo ,

    You can try this:  <a href="{!<entity_name>;}">{TEXT(<entity_name>:<attribute>, "MM-dd-yy")} Check-In Link</a. Also,Please take a look at these links. It may be helpful in your scenarios.

    https://stackoverflow.com/questions/75057091/how-to-change-date-format-in-email-template-of-dynamics365 

        

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans