JavaScript Reference/Javascript Methods/getUTCMonth
Версия от 18:30, 25 мая 2010; (обсуждение)
"getUTCMonth()" Example
<html>
<body>
<button onclick="var myDate = new Date();
alert(myDate.getUTCMonth());">get UTC month</button>
</body>
</html>
"getUTCMonth()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Date |
+----------------+--------------------------------------------------------------+
"getUTCMonth()" Syntax, Parameters and Note
Note:
Returns the month based on UTC time.
Return value:
0 to 11,
with 0 representing January and 11 representing December.
Syntax:
dateName.getUTCMonth()