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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AlarmsAndConditions Namespace > UABaseEventObject Class : TimeDouble Property
Provides the time the Event occurred. In UTC, as double-precision floating-point number that contains an OLE Automation date.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public ReadOnly Property TimeDouble As Double
'Usage
 
Dim instance As UABaseEventObject
Dim value As Double
 
instance.TimeDouble = value
 
value = instance.TimeDouble
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public double TimeDouble {get;}
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public:
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