ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework Namespace / TimeZoneManager Class / GetTimeZoneByID Method
The time zone ID

In This Topic
    GetTimeZoneByID Method
    In This Topic
    Gets the time zone data for the specified time zone ID. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public TimeZoneData GetTimeZoneByID( 
       string timeZoneID
    )
    Public Function GetTimeZoneByID( _
       ByVal timeZoneID As String _
    ) As TimeZoneData

    Parameters

    timeZoneID
    The time zone ID

    Return Value

    A TimeZoneData that references the specified time zone id.
    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