AFTimeZone.SaveSystemTimeZones Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Save the system time zones to XML.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static string SaveSystemTimeZones()
Public Shared Function SaveSystemTimeZones As String Dim returnValue As String returnValue = AFTimeZone.SaveSystemTimeZones()
public: static String^ SaveSystemTimeZones()
static member SaveSystemTimeZones : unit -> string
Return Value
Type: StringReturns an XML string of the system time zones.
Remarks
This method is used to save the system time zones to XML to be
later loaded into a client using the LoadSystemTimeZones(String)
method. This method could be called on the server to load the server's
time zone information on a client that does not have access to the
time zone information provided by the operating system.