Note:Sets the month. Syntax: dateName.setMonth(param1, param2)Parameters: param1 Required; the month. Value: 0 to 11. param2 Optional; the day of the month. Value: 1 to 31.