JavaScript Reference/Javascript Methods/getUTCMonth
"getUTCMonth()" Example
<source lang="javascript">
<html> <body> <button onclick="var myDate = new Date();
alert(myDate.getUTCMonth());">get UTC month</button>
</body> </html>
</source>
"getUTCMonth()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |Date | +----------------+--------------------------------------------------------------+
</source>
"getUTCMonth()" Syntax, Parameters and Note
<source lang="javascript">
Note: Returns the month based on UTC time. Return value: 0 to 11, with 0 representing January and 11 representing December.
Syntax:
dateName.getUTCMonth()
</source>