ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework Namespace / TimeZoneManager Class / GetTimeZones Method
flag indicating whether the local time zone should be included.
Flag indicating whether the "Unknown" time zone should be included.
"Flag indicating whether the "Default" time zone should be included.
Version

GetTimeZones Method
Gets the list of time zones available on the system. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

includeLocalTimeZone
flag indicating whether the local time zone should be included.
includeUnknownTimeZone
Flag indicating whether the "Unknown" time zone should be included.
includeEmptyTimeZone
"Flag indicating whether the "Default" time zone should be included.

Return Value

An IReadOnlyList of TimeZoneData objects.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also