Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.