Developing Apama Applications > Apama EPL Reference > Variables > Provided variables > Event timestamps
Event timestamps
Purpose
The correlator defines an arrival timestamp for every event it receives. The arrival time value is set from the main context’s clock when an event is received by the correlator, just before it is placed on the input queue of each public context.
You can access the arrival timestamp by calling the event’s inbuilt getTime() method (see event). After the correlator creates an event or after you coassign an event, the getTime() method returns the time in the context when the event was created or coassigned. An event’s arrival timestamp has the same scope as the event itself.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.