getHours

Gets the hours in a date, using local time.

MDN Reference