AFTimeSpan.TimeZone Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.1.1.1182
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.