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

AF SDK Reference

PISystem.ServerTimeZone Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystem.ServerTimeZone Property
Gets the current time zone of the PI AF Server.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFTimeZone ServerTimeZone { get; }
Public ReadOnly Property ServerTimeZone As AFTimeZone
	Get

Dim instance As PISystem
Dim value As AFTimeZone

value = instance.ServerTimeZone
public:
virtual property AFTimeZone^ ServerTimeZone {
	AFTimeZone^ get () sealed;
}
abstract ServerTimeZone : AFTimeZone with get
override ServerTimeZone : AFTimeZone with get

Property Value

Type: AFTimeZone
Returns the current time zone of the PI AF Server if connected to the server. Otherwise, UtcTimeZone is returned.

Implements

IAFTimeSourceServerTimeZone

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in