getMonth()

Returns the value of the Month calendar field. All calendar fields are normalized.

Syntax

Numeric getMonth()

Usage

For example, return the value of the Month calendar field by calling:
Calendar.fromDate(Date.parseString("08/01/1999","mm/dd/yyyy")).getMonth()

This example populates a Decimal Format Box.