myDate.setUTCMonth( month, [ day ] ) in ECMAScript 262

Set the UTC month.

Arguments

nametypedescription
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.