JavaScript Reference/Javascript Methods/getMilliseconds
"getMilliseconds()" Example
<html>
<body>
<button onclick="var myDate = new Date();
alert(myDate.getMilliseconds());">
get milliseconds </button>
</body>
</html>
"getMilliseconds()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Date |
+----------------+--------------------------------------------------------------+
"getMilliseconds()" Syntax, Parameters and Note
Note:
Returns the number of milliseconds elapsed during its current second.
Return value: 0 to 999.
Syntax:
dateName.getMilliseconds()