<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Dates</h1>
<p>Add zeros and colons to display the time:</p>
<p id="demo"></p>
<script>
const d = new Date();
let time = d.toUTCString();
document.getElementById("demo").innerHTML = time;
</script>
</body>
</html>