Date().getMilliseconds() : getMilliseconds « Date « JavaScript Tutorial






The getMilliseconds() method returns the millisecond portion of the date expressed as an integer from 0 to 999.

<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
dateVar = new Date();
alert(dateVar.getMilliseconds());

//  -->
</script>
</head>
<body>

</body>
</html>








12.9.getMilliseconds
12.9.1.Date().getMilliseconds()