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

AF SDK Reference

AFTime.Now Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTime.Now Property
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: AFTime
A 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

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