Team LiB   Previous Section   Next Section
Date.getUTCHours( ) return the hours field of a Date (universal time)

Availability

JavaScript 1.2; JScript 3.0; ECMAScript v1

Synopsis

date.getUTCHours( )

Returns

The hours field, expressed in universal time, of date. The return value is an integer between 0 (midnight) and 23 (11 p.m.).

    Team LiB   Previous Section   Next Section