JavaScript Reference/Javascript Methods/getUTCMinutes

Материал из Web эксперт
Перейти к: навигация, поиск

"getUTCMinutes()" Example

    
<html>
<body>
<button onclick="var myDate = new Date(); 
alert(myDate.getUTCMinutes());">get UTC minutes</button>
</body>
</html>



"getUTCMinutes()" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |Date                                                          |
+----------------+--------------------------------------------------------------+



"getUTCMinutes()" Syntax, Parameters and Note

Note:
Returns the minute based on UTC time. 
Return value: 0 to 59.
    
Syntax:
    
dateName.getUTCMinutes()