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/12/18 04:32,
18.191.89.92: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/16.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.