Returns the day (date) of the month in the specified date according to universal time.
Method of Date
Syntax
getUTCDate()
Parameters
None
Description
The value returned by getUTCDate is an integer between 1 and 31.
Examples
The following example assigns the day portion of the current date to the variable d.