setMonth() Sets the value of the Month calendar field. Syntax Calendar setMonth(Numeric value) value is the month to set. Related conceptsgetMonth()