AFTime Properties
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFTime type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| IsEmpty |
Tests whether this time has not been initialized or is
DateTime.MinValue.
| |
| LocalTime |
Gets a DateTime object converted to local time.
| |
| Now |
Gets a AFTime object that is set to the current date and time on
this computer.
| |
| NowInWholeSeconds |
Gets a AFTime object that is set to the current date and time on
this computer with the fractional seconds truncated.
| |
| PITime | Obsolete.
Returns the time as a PI SDK PITime.
| |
| UtcSeconds |
Return the time as the number of seconds since January 1, 1970, UTC.
| |
| UtcTime |
Gets a DateTime object that is expressed in Coordinated Universal
Time (UTC).
|