<!DOCTYPE html>
<html lang="en-US">
<body>
<p>Click the button to display the local date and time, based on a UTC date-time.</p>
<button onclick="myFunction()">Display Local Date and Time</button>
<p id="point"></p>
<script>
function myFunction() {
var d = new Date(Date.UTC(2020, 02, 25));
document.getElementById("point").innerHTML = d;
}
</script> </body>
</html>