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

AF SDK Reference

AFTime Properties

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTime Properties

The AFTime type exposes the following members.

Properties

  NameDescription
Public property
IsEmpty
Tests whether this time has not been initialized or is DateTime.MinValue.
Public property
LocalTime
Gets a DateTime object converted to local time.
Public propertyStatic member
Now
Gets a AFTime object that is set to the current date and time on this computer.
Public propertyStatic member
NowInWholeSeconds
Gets a AFTime object that is set to the current date and time on this computer with the fractional seconds truncated.
Public property
PITime Obsolete.
Returns the time as a PI SDK PITime.
Public property
UtcSeconds
Return the time as the number of seconds since January 1, 1970, UTC.
Public property
UtcTime
Gets a DateTime object that is expressed in Coordinated Universal Time (UTC).

See Also

TitleResults for “How to create a CRG?”Also Available in