Set UTC Date Method
The Set UTC Date method sets the UTC day of a date object to a number from 1 through 31 according to the value you set in the dayOfMonth argument.
Format
dateVar.setUTCDate(dayOfMonth)
The following table describes the arguments for the Set UTC Date method.
Argument | Description |
---|---|
dayOfMonth |
The day of the UTC month to set in dateVar as an integer from 1 through 31. For more information, see Values for Dates and Times. |