myDate.setUTCMonth( month, [ day ] ) in ECMAScript 262
Set the UTC month.
Arguments
name | type | description |
---|---|---|
month | Number | The new zero-based month numbe |
day | Number | [optional] The new day number, expressed< |
- Return Type
- Number
Description
If the optional day
parameter is omitted, it is left unchanged in the date object.