TimeZoneDefinition entity messages and methods
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
The Time Zone entity stores basic information about each supported time zone, including the time zone code and the standard time zone name. This information is read-only. The schema name for this entity is TimeZoneDefinition. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download.
The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.
Message |
Description |
---|---|
Retrieves all the time-zone definitions for the specified locale, returning only the display name attribute. |
|
Retrieves the time-zone code for the specified localized time-zone name. |
|
Retrieves the local time for the specified Coordinated Universal Time (UTC) time. |
|
Retrieves localized labels for the TimeZoneDefinition.UserInterfaceName and TimeZoneDefinition.StandardName attributes. |
|
Retrieves a time zone definition. You can also call the IOrganizationService.Retrieve method. |
|
Retrieves a collection of time zone definitions. You can also call the IOrganizationService.RetrieveMultiple method. |
|
Sets localized labels for the TimeZoneDefinition.UserInterfaceName and TimeZoneDefinition.StandardName attributes. |
|
Retrieves the UTC time for the specified local time. |
See Also
Time zone entities
Privileges by entity
TimeZoneLocalizedName entity messages and methods
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright