method Date.getHours
Private
Date.getHours(): number

Gets the hours in a date, using local time.

Return Type

number