setHours()
Top
Previous
Next
Syntax
DateObj.setHours(
hour
)
Arguments
hour:
A number from 0 to 23 (0 being midnight, 23 being 11:00pm)
Returns
an integer
Description
Method; This method sets the hour for the Date Object specified according to
Local Time
.