JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

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()"


Previous Home Next
Date.setMinutes() Book Index Date.setSeconds()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
Hosted by uCoz