JavaScript Reference/Javascript Methods/getUTCDay
"getUTCDay()" Example
<html>
<body>
<button onclick="var myDate = new Date();
alert(myDate.getUTCDay());">get UTC Day</button>
</body>
</html>
"getUTCDay()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Date |
+----------------+--------------------------------------------------------------+
"getUTCDay()" Syntax, Parameters and Note
Note:
Returns the week day based on UTC time.
Return values:
0 to 6,
with 0 representing Sunday and 6 representing Saturday.
Syntax:
dateName.getUTCDay()