CodesJava

Easy learning with example program codes

JavaScript Date getUTCMinutes() method

The JavaScript date getUTCMinutes() method is used to get the 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>

Output:

48
Please follow and like us:
error








Copyright © 2019 CodesJava DMCA.com Protection Status