Date.prototype.getTime

Returns the time value in milliseconds.

Syntax

getTime()

Return value

A number representing the time value in milliseconds.