Reputation: 4511
I have a Dynamics CRM system that works across multiple timezones. The users work in their local timezones and I have some services that interact with the entities they create.
All code is done through the SDK Generated early bound entity classes.
For example:
I am seeing issues where when a user creates a record which is used by the services that the date mismatch is causing issues.
So I guess I have a number of questions:
Upvotes: 2
Views: 1051
Reputation: 18895
DateTime
is local in CRM is when you are creating a new DateTime
in code, and not specifying that it's UTC, or when it is displayed to the user. Anytime CRM stores a `DateTime, if it isn't specified as UTC, it will convert it to UTC based on the user's TimeZone. DateTime
, you have to specify that it is UTC (DateTime to UTC ), or else the SDK will convert it to UDC when you save or update it.Upvotes: 3