HTML | DOM timeStamp Event Property
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
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.