getMonth Method
Description
Used to retrieve the month value of the Date object.Syntax
var intMonth = objDate.getMonth( )
Return Value
An integer between 0 and 11 indicating the month stored in the date object.
Arguments
The getMonth method has no arguments.
Remarks
The integer returned from getMonth is not the traditional number used to indicate the month. It is one less. So, if "Jan 5, 1996 08:47:00" is stored in a Date object, getMonth will return 0.