PIServer.ServerTimeZone Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Gets the current time zone of the PI Data Archive.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFTimeZone ServerTimeZone { get; }
Public ReadOnly Property ServerTimeZone As AFTimeZone Get Dim instance As PIServer 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: AFTimeZoneReturns the current time zone of the PI Data Archive if connected to the server. Otherwise, UtcTimeZone is returned.