web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Email Template - Remove time from a date field

(0) ShareShare
ReportReport
Posted on by 390

Hi

I am making a global email template (not a word mail merge) and i have a date field which is a date only type field, when the template is populated the date is correct but there is also a time which says 00:00 how can i get rid of this??

i found an article which mentioned placing /@date but it doesnt seem to work?

help?

thank you

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    antc Profile Picture
    2,909 on at

    That should work!

    ‘{!lead:estimatedclosedate/@date;}’

  • 2015crm Profile Picture
    390 on at

    Hi

    That is what i have already tried, but when i press save it doesn't go yellow to indicate its going to work, then when i test it it does not work.

    Should it be the display name or the schema name you use?

  • Suggested answer
    antc Profile Picture
    2,909 on at

    Can be either from memory however I would use schema and if required don't forget prefix. i.e. "new_fieldname"

  • Verified answer
    Mahadeo Matre Profile Picture
    17,021 on at

    Hi,

    you need to modify template XML, and add /@date, then it will work..

    for more details check

    [View:https://mahadeomatre.blogspot.com/2016/09/email-template-show-date-or-time.html:750:50]

  • triangular Profile Picture
    162 on at

    Hi Mahendra,

    Thank you for posting the very helpful blog about fixing this. I gave it a try on my CRM system, edited the customization.xml file to contain the /@date field and then reimported/published the solution into the system. Unfortunately this doesn't fix it - after inserting email template the timestamp is still showing, even though the field itself is already set to Date-only (see screenshot)

    We are on CRM 2016 on-premise and version number is 8.1. Do you might have any updates on this CRM version?

    Thanks much for your help

    date-only.JPG

  • Aparna1 Profile Picture
    222 on at

    Hi Mahadeo,

    Thanks for the information about Email template. Could you please also let me know how we can remove the time from "Createdon" field when using word template.

    Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans