QuickOPC User's Guide and Reference
Time Property (_UABaseEventObject)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AlarmsAndConditions.ComTypes Namespace > _UABaseEventObject Interface : Time Property
Provides the time the Event occurred.
Syntax
'Declaration
 
ReadOnly Property Time As Date
'Usage
 
Dim instance As _UABaseEventObject
Dim value As Date
 
value = instance.Time
DateTime Time {get;}
property DateTime Time {
   DateTime get();
}
Remarks

If you are using VBA in Excel, beware that it reduces the precision of date/times from OLE Automation to seconds. In order to achieve milliseconds precision from VBA in Excel, use the TimeDouble property instead.

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