Javascript Reference
Categories: Date

javascript Date getHours( )

@March 15, 2008, 1:22 a.m.
getHours( )Firefox/Netscape/NN 2 IE 3 ECMA 1  


Returns a zero-based integer corresponding to the hours of the day for the date specified by an instance of the Date object. The 24-hour time system is used.



Returned Value

Integer between 0 and 23.

Powered by Linode.