Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTimeZone.SaveSystemTimeZones Method

  • Last UpdatedJan 12, 2026
  • 2 minute read
AFTimeZone.SaveSystemTimeZones Method
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: String
Returns 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.

Version Information

AFSDK


See Also

In This Topic
Related Links