[Chapter 21] Reference: Date.setMonth()
Author: David Flanagan
Date: Fri Aug 29 11:14:43 1997

#

| Chapter 21 JavaScript Reference |

# Date.setMonth() Method

## Name

Date.setMonth() Method---set the month field of a Date

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    date.setMonth(month)

### Arguments

`month`

  An integer between 0 (January) and 11 (December) that is set as the month value for the Date object `date`.

### Returns

nothing

## See Also

"Date", "Date.getMonth()"

Date.setMinutes() |  | Date.setSeconds()