Date.getMilliseconds

getMilliseconds – Get the milliseconds, according to local time (0–999).

Description

Date.getMilliseconds()

Return values

Integer

Examples

Example #1 – getMilliseconds example
var date = new Date(); console.log(date.getMilliseconds()); // Logs the current milliseconds.

External references