event.timeStamp

event.timeStamp

event.timeStampReturns: Number

Description: The difference in milliseconds between the time the browser created the event and January 1, 1970.

  • version added: 1.2.6event.timeStamp

This property can be useful for profiling event performance by getting the event.timeStamp value at two points in the code and noting the difference. To simply determine the current time inside an event handler, use (new Date).getTime() i