Date.prototype.getUTCHours

Returns the hours in a date using Universal Coordinated Time (UTC).

Syntax

getUTCHours()

Return value

A number representing the hours of a Date, using UTC.