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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Event date on portal in UTC

(0) ShareShare
ReportReport
Posted on by 534

Hi 

In the event in EU we have set the event time to Amsterdam
In the portal I added the Date format DateTime/DateFormat Value – dd/MM/yyyy 

datetime.png

On the event portal on the event page the date still shows the UTC time format

pastedimage1602664383417v2.png

When I look at the HTML code the class has event-date

<h3 _ngcontent-pqi-c3="" class="event-date">Sep 7, 2020, 10:00:32 AM</h3>

How can I change the output on the portal?

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at
    RE: Event date on portal in UTC

    Hi Mariette,

    From my test, it seems that site settings wouldn't work for Event Portal: due to Event Portal is built with Angular, which is totally different from other general portals such as Customer Community or Customer self-service portal.(They are built with Liquid.js)

    Therefore, we have to download sample event website and customize it locally, then upload the modified website data to portal with deployment script.

    The format of date time is easy to customize, we only need to add little changes in event.component.html. (About at line 18.)

    {{ event.startDate | date:'dd/MM/yyyy, h:mm a' }}

    pastedimage1602671194852v4.png

    pastedimage1602671148387v3.png

    If you encountered any problem when compiling the event website or running the deployment script, please refer to my answer in the following thread:

    https://community.dynamics.com/365/marketing/f/dynamics-365-for-marketing-forum/396613/how-can-i-insert-the-copywriting-privacy-statement-in-the-event-registration

    Regards,

    Clofly

  • CMG11 Profile Picture
    37 on at
    RE: Event date on portal in UTC

    I have a similar problem but I'm using the October 2020 release of the event website and changing the {{ formatStartDate() }} to a specific format in the manner suggested breaks the page. Date settings are set in the environment.ts file and then this is used by the event.component.ts which in turn uses the DateFormatter.ts helper. Unfortunately despite having changed the settings in the environment.ts file to use UK formatting of dd/MM/yyyy, my event portal is still defaulting to US format.

  • Jetj25 Profile Picture
    534 on at
    RE: Event date on portal in UTC

    I think it is time Microsoft does bring the marekting module to powerapps portals

    It is really annoying that some small changes like dates etc. does not work and we have to fix this as a partner in the code and not in the portal system.

    Also when you do customizations you have to be aware of any updates :

    Manually overwriting the event management website overwrites the possible customizations that are made on the website, copy those customizations in a repository outside of the instance. After overwriting the website files, you can use standard DeployToDynamics365Instance.ps1 script to bring your customizations back to the instance.

    How does Microsoft  expect a customer that they manage the software by themselves

  • cloflyMao Profile Picture
    25,210 on at
    RE: Event date on portal in UTC

    Hi Mariette,

    Sorry for the inconvenience.

    In Dynamics, all dates are stored in UTC format, and they have been formatted by system when we see them.

    Therefore, date data will also be outputted to Event in it original format, and they are formatted by Angular at front-end.

    However, currently the component to customize date format is not available to Event Portal management.

    You could add the feature request to Ideas forum.

    Regards,

    Clofly

  • Jetj25 Profile Picture
    534 on at
    RE: Event date on portal in UTC

    I have add the feature request to the ideas forum

    Vote here: experience.dynamics.com/.../

  • Verified answer
    ShaileshJain Profile Picture
    on at
    RE: Event date on portal in UTC
    1. As Clofly confirms, the change of date format is achievable via angular, pls see screenshots below showing multiple date DISPLAY formats on events page for SAME date record
      • if any customer is still not able to achieve this, I suggest raising a support ticket to help with customization.
      • We will work on improving the documentation for this scenario in the next major release
    2. Of course, we support both D365 Portals, and PowerPortals
      • however D365 Marketing app is not tightly coupled to any hosting solution. Hence by design any such customizations will be needed on angular (which is hosting independent).
      • Any ask to have this possible via portals (to respect portal settings if the website is deployed on the portal). This is on the backlog, and we'll wait for more feedback on this one. Currently, angular setting is recommended as shown in screenshots below.”

    date_2D00_CRM.jpg

    angular_2D00_format1.jpg

    format1_2D00_display.jpg

    angular_2D00_format2.jpg

    format2_2D00_display.jpg

  • Suggested answer
    Rudav Nikolai Profile Picture
    105 on at
    RE: Event date on portal in UTC

    Hello Jetj25,

    As steps given by the first replier and Shailesh Jain, it would be easy to simply change the date format.

    If you have any problem, community members are willing to help you!

    Best,

    Nikolai

  • cloflyMao Profile Picture
    25,210 on at
    RE: Event date on portal in UTC

    Hi Mariette,

    I have voted on your idea.

    Let's wait for the OOB customization feature would be achieved in future release. :)

    Regards,

    Clofly

  • Whitecliffe Profile Picture
    25 on at
    RE: Event date on portal in UTC

    The problem with dates extends further than just the Event Dates in UTC format.  The drop downs are also affected.  You would think you should be able to change a date format in site sittings, not have to run off to do Angular changes.  We are still having issues trying to find the Event Sessions Date Drop Down to change that away from US Date format.  I hope Microsoft fixes this mess in the Events Portal.  Simple changes should not require a PowerShell Deploy.  If anyone knows how to change the date format in the session drop down would be awesome to hear how!

  • CGI DEV Profile Picture
    on at
    RE: Event date on portal in UTC

    Since it is now 2022, im wondering if a solution to this problem has occurred? 

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans