JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Date.getMonth() Method

Name

Date.getMonth() Method---return the month of a Date

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

date.getMonth()

Arguments

none

Returns

The month field of the specified Date object date. Return values are between 0 (January) and 11 (December).

See Also

"Date", "Date.setMonth()"


Previous Home Next
Date.getMinutes() Book Index Date.getSeconds()

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