javascript Date setHours( )
| setHours( ) | NN 2 IE 3 ECMA 1 |
setHours(hourInt) | |
|
Sets the hours of the day for an instance of the Date object. The 24-hour time system is used. If you specify an hour beyond the end of the object's current day, the object recalculates the time in the succeeding day(s). |
|
| Parameters | |
|
|
| Returned Value | |
New date in milliseconds. |
|
Previous: javascript Date setMilliseconds( )
475,Nickname,Homepage or email,Comments here,Add comment
