JavaScript Reference/Javascript Methods/getUTCDate

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

"getUTCDate()" Example

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



"getUTCDate()" is applied to

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



"getUTCDate()" Syntax, Parameters and Note

Note:
Returns the day of the month based on UTC time.
    
Syntax:
    
dateName.getUTCDate()