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

#each code that shows a different date in my marketing email.

(0) ShareShare
ReportReport
Posted on by 235

Hi, 

I have created a code for merging a field with an #each code. There are no errors so the code works. 

This is the result

pastedimage1599630333221v1.png

But the date should be pastedimage1599630403472v2.png

I have tested many contacts and the code shows the date 1 day before for all of them. 

Does anyone has any suggestion of what this could be? 

Camilla

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at

    Hi Camilla,

    In marketing email,  Handlebars expression reads date value from Created On field of record,

    however, in Dynamics system, the Created On field of all records will be saved in UTC format, that is by design;

    while the date what we see in view and form are formatted date actually(The date in our time zone).

    You could submit what you had found to Ideas forum.

    Regards,

    Clofly

  • Suggested answer
    ShravanSuri Profile Picture
    1,255 on at

    Hey Camilla, could you share details like -

    1. Which date field you're referring to? Is it the event start date?

    2. How your [tag:each] code is written

    3. What timezone is your system in?

    Thanks,

    Shravan

  • Camilla Larsson Profile Picture
    235 on at

    HI Shawran

    1.  Data Type: Date and Time Field, Behavior; User Local, Format; Date Only

    2. {{#each contact.new_unsubscription_contact_new_customerid}}

    {{this.new_validfromdate}}.

    {{/each}}

    3. Not sure- where can I find and see the timezone in the system?

    Kind Regards

    Camilla

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 58 Super User 2026 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 49

#3
Fiona_Tiernan Profile Picture

Fiona_Tiernan 22 Moderator

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans