Gets the day-of-the-month, using Universal Coordinated Time (UTC).
SyntaxdateObj.getUTCDate()
Return Value
Returns an integer between 1 and 31 that represents the day-of-the-month.
ExamplesThe following example shows how to use the getUTCDate method.
var date = new Date("1/23/2001");
document.write(date.getUTCDate());
Remarks
The required dateObj reference is a Date object. To get the day of the month using local time, use the getDate method.
See also Other articles AttributionsMicrosoft Developer Network: Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4