<!DOCTYPE html>
<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>
</html>