<html>
<body>
<p>Click the button to display the UTC day of the month for the given, local, date-time.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
var d = new Date("July 21, 1983 01:15:00");
var n = d.getUTCDate();
document.getElementById("demo").innerHTML = n;
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_getutcdate2 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:02:04 GMT -->
</html>