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

Announcements

No record found.

News and Announcements icon
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)
  • 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

  • Camilla Larsson Profile Picture
    235 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 168 Super User 2026 Season 1

#2
NeerajPawar Profile Picture

NeerajPawar 65

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans