setMonth()

Sets the value of the Month calendar field.

Syntax

Calendar setMonth(Numeric value)
  1. value is the month to set.