OPC Studio User's Guide and Reference
TimeDouble Property (_UABaseEventObject)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AlarmsAndConditions.ComTypes Namespace > _UABaseEventObject Interface : TimeDouble Property
Provides the time the Event occurred. In UTC, as double-precision floating-point number that contains an OLE Automation date.
Syntax
'Declaration
 
ReadOnly Property TimeDouble As Double
'Usage
 
Dim instance As _UABaseEventObject
Dim value As Double
 
value = instance.TimeDouble
double TimeDouble {get;}
property double TimeDouble {
   double get();
}
Remarks

This property is primarily aimed at VBA in Excel, which removes the sub-seconds parts of VT_DATE values. This alternative property uses VT_R8 variant type instead, and provides a milliseconds resolution.

For more remarks, see Time.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also