javascript Date getMonth( )

getMonth( )NN 2 IE 3 ECMA 1  

  

Returns a zero-based integer corresponding to the month value for the date specified by an instance of the Date object. That this method's values are zero-based frequently confuses scripters at first.

 
Parameters

None.

 
Returned Value

Integer between 0 and 11. January is 0, February is 1, and December is 11.


467,Nickname,Homepage or email,Comments here,Add comment