Microsoft® JScript setHours Method |
| Language Reference | |
Modifies the hours stored in the Date object.
dateObj.setHours( numHours )
The numHours argument is a numeric value equal to the hours value.
If the value of numHours is greater than 23 or is a negative number, the stored date is incremented an appropriate number of days. For example, if the stored date is "Jan 5, 1996 00:00:00", and setHours(30) is called, the date is changed to "Jan 6, 1996 06:00:00". Negative numbers have a similar behavior.
file: /Techref/language/asp/js/34.htm, 1KB, , updated: 1996/11/22 10:12, local time: 2024/11/5 20:42,
18.190.217.122:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/asp/js/34.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |