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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AlarmsAndConditions Namespace > UABaseEventObject Class : Time Property
Provides the time the Event occurred.
Syntax
'Declaration
 
Public ReadOnly Property Time As Date
'Usage
 
Dim instance As UABaseEventObject
Dim value As Date
 
instance.Time = value
 
value = instance.Time
public DateTime Time {get;}
public:
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