JavaScript Tutorial/Date/getUTCMinutes

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

Date.getUTCMinutes()

The getUTCMinutes() method returns the minutes portion of the Date object converted to universal time and expressed as an integer from 0 to 59.



<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
dateVar = new Date();
alert(dateVar.getUTCMinutes());
//  -->
</script>
</head>
<body>
</body>
</html>