24.27. Date.getHours( ): return the hours field of a DateECMAScript v124.27.1. Synopsisdate.getHours( ) 24.27.1.1. ReturnsThe hours field, expressed in local time, of the specified Date object date. Return values are between 0 (midnight) and 23 (11 p.m.). |