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/12/18 04:38,
18.222.46.192:LOG IN
|
©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://techref.massmind.org/techref/language/asp/js/34.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.