Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Time Zone Confusion

(0) ShareShare
ReportReport
Posted on by 2,737

Hi,

Can anyone explain me very clearly how the date time field store value?What values would I get on Form and while retrieving the field in PLugins?

What if my end users have different timezones(biggest confusion)?

UTC and GMT(again confusion...)?

How to handle these fields in Plugins for different timezones?

*This post is locked for comments

  • ScottDurow Profile Picture
    19 on at
    RE: Time Zone Confusion

    Hi - in addition to Guido's answer - my blog article on this subject might be of some help  - community.dynamics.com/.../dynamics-crm-datetimes-the-last-word.aspx

    Key point - if you want full control over the datetime when you set via the SDK you can set the DateTimeKind  to UTC - this will override the local timezone conversions according to teh user's settings.

    Hope this helps,

    Scott

  • RahulGupta1307 Profile Picture
    2,737 on at
    RE: Time Zone Confusion

    Hi Guido,

    Greate reply.Many things are clear now.

    Just have a quick doubt:

    What if I have to set a date time field from Plugin,whether I have to set that field in UTC or Local time?How CRM will store?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans