Returns the date's milliseconds.
var myDate = new Date(); console.log(myDate.getMilliseconds());
The code above generates the following result.