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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Using Custom Codes in Dynamics 365 marketing

(0) ShareShare
ReportReport
Posted on by 235

HI, 

I have created a #each to merge some fields from a 1:N relationship. 

Now my question is: Why do I get the time into the field even though the field in CRM is only a date field?

Din søknadsid er:

{{#each contact.new_boligsoknad_contact_new_kontaktid}}
{{this.new_soknadsid}}

Din ønske dato vill bli: {{this.new_onsketsoknadsdato}}
{{/each}} 

Results:

pastedimage1588591903401v1.png

pastedimage1588592139879v2.png

I have the same question (0)
  • Camilla Larsson Profile Picture
    235 on at

    Thank you so much for your answer. I will see if text field is better.

  • Suggested answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Camilla,

    Because Date and Time field is still formatted in yyyy-MM-dd MM:ss at back-end, 

    the "Date only control" just processes the Date and Time field to yyyy-MM-dd at front-end,

    while dynamic expression reads date and field value from back-end, thus result of marketing email is same as back-end original format. 

    If you would like to display customized formatted date, please use an alternative text field to save yyyy-MM-dd value.

    Or wait for the enhancement for dynamic expression in the future release.

    Regards,

    Clofly

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

News and Announcements

Season of Giving Solutions is Here!

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 > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 94

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 81 Super User 2025 Season 2

#3
TAHER Mehdi Profile Picture

TAHER Mehdi 58

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans