Hours and Minutes
HTML
<!DOCTYPE html>
<html>
<body>
<p>Click the button to display the hour of the time right now.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
</body>
</html>
JavaScript
function myFunction() {
var d = new Date("2020-05-28T10:20:00.000Z");
hours = d.getHours();
minutes = d.getMinutes();
document.getElementById("demo").innerHTML = hours + ":" + minutes;
}