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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComTypes Namespace > _AEEventData Interface : TimeLocal Property
Time of the event occurrence - for conditions, time that the condition transitioned into the new state or sub-condition. In local time.
Syntax
'Declaration
 
Property TimeLocal As Date
'Usage
 
Dim instance As _AEEventData
Dim value As Date
 
instance.TimeLocal = value
 
value = instance.TimeLocal
DateTime TimeLocal {get; set;}
property DateTime TimeLocal {
   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 TimeLocalDouble 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