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 | DOM cancelable Event Property
- HTML | DOM type Event Property
- HTML | DOM target Event Property
- HTML DOM window event property
- HTML | DOM fullscreenerror Event
- HTML | DOM onvolumechange Event
- HTML | DOM onopen Event
- HTML | DOM ondragleave Event
- HTML | DOM onpaste Event
- HTML | DOM touchcancel Event
- HTML | DOM touchmove Event
- HTML | DOM Storage Event
- HTML | DOM createEvent() Event Method
- HTML | DOM touchend Event
- HTML | DOM stopPropagation() Event Method
- HTML | DOM touchstart Event
- HTML | DOM onpause Event
- HTML | DOM onabort Event
- HTML | DOM onsuspend Event
- HTML | DOM oninvalid 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 email@example.com. 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.