Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Time-Zone Independent Datetime behaviour not functioning as it should!

Posted on by

I have two DateTime fields, one being user local and the other time-zone independent. (Both get populated from the same variable)

Using a c# plugin I send a create request for a date time of 04/01/2019 09:00 am AET which gets converted to the UTC time zone regardless of the field behavior.

Hence, both fields get populate with 03/01/2019 10:00 pm which is incorrect.

*This post is locked for comments

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Time-Zone Independent Datetime behaviour not functioning as it should!

    Hi,

    Did you check the values by changing your timezone? Basically in this scenario, if you see the values of both these field from the time zone you have created these field then both will display the same time however if you see the field from a different timexone thenn you will notice that user local is displayed as user local timezone whereas timezone independent displays the old datetime.

    Check these links-

    community.dynamics.com/.../introduction-to-behaviours-of-date-and-time-fields-in-dynamics-365

    docs.microsoft.com/.../behavior-format-date-time-field

    Hope this helps.

  • Time-Zone Independent Datetime behaviour doesn't work!

    I have two DateTime fields, one being user local and the other time-zone independent.

    Using a c# plugin I send a create request for a date time of 04/01/2019 09:00 am AET which gets converted to the UTC time zone regardless of the field behavior.

    Hence, both fields get populate with 03/01/2019 10:00 pm which is incorrect.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans