AFTimeZone.SaveSystemTimeZones Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Save the system time zones to XML.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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.