AFTimeSpan.TimeZone Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Indicates the time zone of the current AFTimeSpan used to do time arithmetic.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFTimeZone TimeZone { get; }
Public ReadOnly Property TimeZone As AFTimeZone Get Dim instance As AFTimeSpan Dim value As AFTimeZone value = instance.TimeZone
public: property AFTimeZone^ TimeZone { AFTimeZone^ get (); }
member TimeZone : AFTimeZone with get
Property Value
Type: AFTimeZoneReturns the AFTimeZone specified when this time span was created. Defaults to CurrentAFTimeZone.