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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComTypes Namespace > _AEEventData Interface : Time Property
Time of the event occurrence - for conditions, time that the condition transitioned into the new state or sub-condition. In UTC.
Syntax
'Declaration
 
Property Time As Date
'Usage
 
Dim instance As _AEEventData
Dim value As Date
 
instance.Time = value
 
value = instance.Time
DateTime Time {get; set;}
property DateTime Time {
   DateTime get();
   void set (    DateTime value);
}
Remarks

For example, if the event notification is for acknowledgment of a condition, this would be the time that the condition became acknowledged.

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 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

_AEEventData Interface
_AEEventData Members