<html>
<body>
<h2>JavaScript Dates</h2>
<p>setTime() sets a date by adding milliseconds to January 1, 1970:</p>
<p id="demo"></p>
<script>
const d = new Date();
d.setTime(1332403882588);
document.getElementById("demo").innerHTML = d;
</script>
</body>
</html>