getHour

getHour()

Gets the hour component of the date represented by this instance.

Returns: The hour component, expressed as a value between 0 and 23.