AFTimeZone.GetSystemTimeZones Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Retrieves a list of AFTimeZone objects by pulling values
from the registry.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static IList<AFTimeZone> GetSystemTimeZones()
Public Shared Function GetSystemTimeZones As IList(Of AFTimeZone) Dim returnValue As IList(Of AFTimeZone) returnValue = AFTimeZone.GetSystemTimeZones()
public: static IList<AFTimeZone^>^ GetSystemTimeZones()
static member GetSystemTimeZones : unit -> IList<AFTimeZone>
Return Value
Type: IListAFTimeZoneReturns a sorted read-only list of AFTimeZone objects.
Remarks
The returned list is sorted using one of the
AFTimeZoneCompareTo methods.