JavaScript Date getUTCMinutes()

The JavaScript date getUTCMinutes() method is used to get the integer value between 0 and 59 that represents the minutes on the basis of universal time.

Syntax:

dateObj.getUTCMinutes()

Return: An integer value between 0 and 59.

Example:

<!DOCTYPE html>
<html>
<body>
<script>
var today = new Date();
document.writeln(today.getUTCMinutes());
</script>
</body>
</html>
Please follow and like us:
Content Protection by DMCA.com