getHours

external fun getHours(): Int(source)

Gets the hours in a date, using local time.

MDN Reference