DekGenius.com
Team LiB   Previous Section   Next Section
Date.getHours( ) return the hours field of a Date

Availability

JavaScript 1.0; JScript 1.0; ECMAScript v1

Synopsis

date.getHours( )

Returns

The hours field, expressed in local time, of the specified Date object date. Return values are between 0 (midnight) and 23 (11 p.m.).

    Team LiB   Previous Section   Next Section