<html>
<body>
<h1>JavaScript Dates</h1>
<h2>The getMilliseconds() Method</h2>
<p>getMilliseconds() returns the milliseconds of a date:</p>
<p id="demo"></p>
<script>
const d = new Date();
let ms = d.getMilliseconds();
document.getElementById("demo").innerHTML = ms;
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_getmilliseconds by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:39:07 GMT -->
</html>