Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFValue.Timestamp Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFValue.Timestamp Property
The timestamp associated with the value.

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: AFTime
The 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.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in