JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Date.getHours() Method

Name

Date.getHours() Method---return the hours field of a Date

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

date.getHours()

Arguments

none

Returns

The hours field of the specified Date object date. Return values are between 0 (midnight) and 23 (11 pm).

See Also

"Date", "Date.setHours()"


Previous Home Next
Date.getDay() Book Index Date.getMinutes()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
Hosted by uCoz