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

#

| Chapter 21 JavaScript Reference |

# Date.setDate() Method

## Name

Date.setDate() Method---set the day of the month

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    date.setDate(day_of_month)

### Arguments

`day_of_month`

  A number between 1 and 31 that is set as the day of the month in the Date object `date`.

### Returns

nothing

## See Also

"Date", "Date.getDate()"

Date.prototype |  | Date.setHours()