AFTime.UtcTime Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: DateTimeThe time is returned as a DateTime in Coordinate Universal Time (UTC).
| 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. |