jQuery event.timeStamp Property (original) (raw)

Last Updated : 11 Jul, 2025

The **jQuery **event.timeStamp is an inbuilt property that is used to measure the difference in milliseconds between the time of the event created by the browser and January 1, 1970.

**Syntax:

event.timeStamp

**Parameter: It does not accept any parameter because it is a property, not a function.

**Example 1: This Example shows the working of an event.timeStamp property.

HTML `

The click event occurred unknown milliseconds after January 1, 1970.

`

**Output:

**Example 2: In this example, a pop-up will show how many milliseconds click event occurred after January 1, 1970.

HTML `

Geeksforgeeks

`

**Output: