hourOfDay

Returns the hour of the day for the 24-hour clock. For example, at 10:04:15.250 PM the hour of the day is 22.

See also hour.

Syntax

hourOfDay()

Examples

$('Date').hourOfDay()