共用方式為


Time zone entities

 

Applies To: Dynamics CRM 2013

The time zone entities can be used when you write code that works in multiple time zones. The following three read-only entities in Microsoft Dynamics CRM contain time zone information:

  • The time zone definition entity stores basic information about each supported time zone, including the time zone code and the standard time zone name.

  • The time zone localized name entity stores the localized time zone names.

  • The time zone rule entity stores information about how times are calculated.

The following table lists the messages that are related to time zones, but don’t refer to a specific entity.

Message

Description

GetTimeZoneCodeByLocalizedNameRequest

Retrieves all the time zone definitions for the specified locale, returning only the display name attribute.

LocalTimeFromUtcTimeRequest

Retrieves the local time for the specified UTC time.

UtcTimeFromLocalTimeRequest

Retrieves the UTC time for the specified local time.

See Also

Business management entities
Sample: Retrieve time zone information
TimeZoneDefinition entity messages and methods
TimeZoneLocalizedName entity messages and methods
TimeZoneRule entity messages and methods
Sample: Retrieve time zone information
Transaction Currency (currency) entity