AFTime.Now Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets a AFTime object that is set to the current date and time on
this computer.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFTime Now { get; }
Public Shared ReadOnly Property Now As AFTime Get Dim value As AFTime value = AFTime.Now
public: static property AFTime Now { AFTime get (); }
static member Now : AFTime with get
Property Value
Type: AFTimeA AFTime whose value is the current date and time.
Remarks
The resolution of this property depends on the system timer. See
DateTime.Now for more information.
Version Information
AFSDK
See Also
Reference
DateTime.Now
DateTime.UtcNow