AFTimeZone.LoadSystemTimeZones Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Load the system time zones from XML.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static void LoadSystemTimeZones( string xml )
Public Shared Sub LoadSystemTimeZones ( xml As String ) Dim xml As String AFTimeZone.LoadSystemTimeZones(xml)
public: static void LoadSystemTimeZones( String^ xml )
static member LoadSystemTimeZones : xml : string -> unit
Parameters
- xml
- Type: SystemString
The XML string containing the system time zone information.
Remarks
This method is used to load the system time zones from XML
created by the SaveSystemTimeZones method.
This method should be called before accessing any time
zone information on clients that do not have access to
the time zone information provided by the operating system.