Microsoft® JScript getHours Method |
| Language Reference | |
Retrieves the number of hours that have elapsed since midnight.
objDate.getHours( )
The getHours method returns an integer between 0 and 23 indicating the number of hours since midnight. A zero in two situations: the time is before 1:00:00 am, or the time was not stored in the Date object when the object was created. The only way to determine which situation you have is to also check the minutes and seconds for zero values. If they are all zeroes, it is nearly certain that the time was not stored in the Date object.
file: /Techref/language/asp/js/16.htm, 1KB, , updated: 1996/11/22 10:11, local time: 2024/11/27 22:56,
3.147.6.176: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/16.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! |
.