AFTime Constructor (Int64)
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- 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.1.1.1182
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.