Skip to main content
Version: 3.28.0

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.