Time zone entities

Note

Effective November 2020:

  • Common Data Service has been renamed to Microsoft Dataverse. Learn more
  • Some terminology in Microsoft Dataverse has been updated. For example, entity is now table and field is now column. Learn more

This article will be updated soon to reflect the latest terminology.

Note

The time zone rule entity is deprecated. The time conversion calculation is now provided by Microsoft Windows. Refer to this article for more information: Microsoft policy in response to daylight saving time and time zone changes.

The time zone entities can be used when you write code that works in multiple time zones. The following two read-only entities in Microsoft Dataverse 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 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 EntityType
timezonelocalizedname EntityType
timezonerule EntityType
Transaction Currency (Currency) Entity

Note

Can you tell us about your documentation language preferences? Take a short survey.

The survey will take about seven minutes. No personal data is collected (privacy statement).