JavaScript Date getUTCHours()
JavaScript Date getUTCHours()
The getUTCHours() method is used to return the hour of date from 0 to 23 according to UTC.
Syntax:-
Its syntax is:- Date.getUTCHours()
Return:-
Its return is:- hour of date from 0 to 23