The timeStamp Event property is used to get the timestamp of when a particular event is created. It basically returns the difference in time (in milliseconds) between the time of event created by the browser and January 1, 1970.
It is a read-only property.
Return Value: : This event returns the number of milliseconds since January 1, 1970 and when the event is triggered.
Before clicking the paragraph:
After clicking the paragraph:
Supported Browsers: The browser supported by timeStamp Event property are listed below:
- Apple Safari
- Google Chrome
- Internet Explorer 9.0
- HTML | currentTarget Event Property
- HTML | DOM type Event Property
- HTML | view Event Property
- HTML | isTrusted Event Property
- HTML | DOM cancelable Event Property
- HTML | cancelable Event Property
- HTML | defaultPrevented Event Property
- HTML | DOM target Event Property
- HTML | returnValue Event Property
- HTML | bubbles Event Property
- jQuery | event.delegateTarget Property
- jQuery | event.currentTarget Property
- jQuery | event.namespace Property
- jQuery | event.data Property
- HTML | DOM onplay Event
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.