Skip to main content
Version: 3.27.2

Date.prototype.getMilliseconds()

The getMilliseconds() method returns the milliseconds in the specified date according to local time.

Syntax

getMilliseconds()

Return value

A number, between 0 and 999, representing the milliseconds for the given date according to local time.