AFAttribute.ServerTimeZone Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the current time zone of the server associated with this AFAttribute.
Namespace: OSIsoft.AF.Asset
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 AFAttribute 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 server associated with this AFAttribute.
Implements
IAFTimeSourceServerTimeZone
Remarks
If this attribute has a DataReferencePlugIn configured,
then the DataReference will return the current time zone of the server
associated with the DataReference.
When a DataReferencePlugIn is not configured, then the current time zone
of the PI AF Server (see PISystem.ServerTimeZone)
is returned.