getHourOfDay()

Returns the value of the Hour of Day calendar field. All calendar fields are normalized.

Syntax

Numeric getHourOfDay()

Usage

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

This example populates a Decimal Format Box.