AFValue.Timestamp Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFTime Timestamp { get; set; }
Public Property Timestamp As AFTime Get Set Dim instance As AFValue Dim value As AFTime value = instance.Timestamp instance.Timestamp = value
public: property AFTime Timestamp { AFTime get (); void set (AFTime value); }
member Timestamp : AFTime with get, set
Property Value
Type: AFTimeThe timestamp associated with the value.
Remarks
If the value is for an AFAttribute that has a configured AFDataReference, then the timestamp is specified by the AFDataReference. For time-series data, the timestamp is normally the time that the value was last written.
If the value is for an AFAttribute without a AFDataReference, then the timestamp is controlled by the owning AFBaseElement. If the owning element is IAFVersionable, then the timestamp will be the EffectiveDate of the element. Otherwise, if the owning element is an event frame, transfer, or case, the timestamp will be the StartTime. If none of these apply, the timestamp will be AFTime.MinValue.