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

AF SDK Reference

AFTime.UtcTime Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTime.UtcTime Property
Gets a DateTime object that is expressed in Coordinated Universal Time (UTC).

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public DateTime UtcTime { get; set; }
Public Property UtcTime As DateTime
	Get
	Set

Dim instance As AFTime
Dim value As DateTime

value = instance.UtcTime

instance.UtcTime = value
public:
property DateTime UtcTime {
	DateTime get ();
	void set (DateTime value);
}
member UtcTime : DateTime with get, set

Property Value

Type: DateTime

The time is returned as a DateTime in Coordinate Universal Time (UTC).

Note Notes to Callers
This property is settable so that it can be restored from some serializes and is not intended to be modified using this property once the AFTime is created.

Version Information

AFSDK


See Also

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