Customization > Automation Interface > Functions > For System Simulations > Event Functions > GetEventTime function (automation interface)
  
GetEventTime function (automation interface)
Syntax:
GetEventTime
This function returns the time at which the current event occurred. The time is returned through the following 8 parameters, all of which are shorts:
<year>,<month>,<day of the week>,<day of the month>,<hour>,<minute>,<second>,<millisecond>
* 
For <day of the week>, Sunday=0, Monday=1, Tuesday=2 and so on. <day of the month> is the numeric value, for example, 25.