AFTime Constructor (Int64)
- Last UpdatedJan 12, 2026
- 1 minute read
- PI System
- AF SDK 3.2.0
- Developer
Initializes a new instance of the AFTime structure to the specified number of ticks.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFTime( long ticks )
Public Sub New ( ticks As Long ) Dim ticks As Long Dim instance As New AFTime(ticks)
public: AFTime( long long ticks )
new : ticks : int64 -> AFTime
Parameters
- ticks
- Type: SystemInt64
A UTC date and time expressed in 100-nanosecond units since January 1, 0001.