getIntMonth()

Return the month in this date as an integer.

Syntax

public int getIntMonth()
 

Return values

An int value which is the month. The range is 1 (January) - 12 (December).

Examples

DtpDate toDay = new DtpDate();
 int month = toDay.getIntMonth();
 

See also

getMonth(), getNumericMonth()

Copyright IBM Corp. 1997, 2003