Time.getMonth

Overview | Methods | Fields | This Package | All Packages

Time.getMonth

Retrieves the month of the year that this Time object represents.

Syntax

public int getMonth()

Return Value

Returns an integer value that represents the month of the year that this Time object represents.

Remarks

The number returned by the getMonth method is always between 1 and 12.

See Also   getDay, getYear, getDate