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/22 05:26,
3.141.47.163: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://sxlist.com/techref/language/asp/js/34.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.