timeStamp event property
Event Object
Definition and Usage
The timeStamp event property returns a timestamp indicating the date and time when the event occurred (the number of milliseconds since the epoch).
The epoch is a reference point for time. Here, it is the time when the client started.
Not all systems provide this information, so the timeStamp property is not available for all systems/events.
Syntax
event
.timeStamp
Example
Example
The following example gets the timestamp starting from system startup:
Click this paragraph. A warning box will pop up containing the timestamp.
Try it »
Event Object