JavaScript Date method: getHours()
[this page | pdf | back links]
The getHours() method (when applied to a JavaScript
date) returns
the hour (0 to 23).
It
has the following syntax (with no parameters):
date.getHours()
NAVIGATION LINKS
Contents | Prev | Next | JavaScript Dates