Date.getMonth

Class Overview | Class Members | This Package | All Packages

Syntax

public int getMonth()

Returns

the month represented by this date.

Description

Note: getMonth() is deprecated.

Returns the month represented by this date. The value returned is between 0 and 11, with the value 0 representing January.

See Also

Calendar