<html>
<body>
<h1>JavaScript Dates</h1>
<h2>The new Date() Method</h2>
<p>Create a date using ISO notation:</p>
<p id="demo"></p>
<script>
const time1 = new Date("2015-03-25");
const time2 = new Date(time1);
document.getElementById("demo").innerHTML = time2;
</script>
</body>
</html>