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

AF SDK Reference

AFTime Constructor (Int64)

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFTime Constructor (Int64)
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.

Version Information

AFSDK


See Also

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