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/5 20:30,
3.12.149.221: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/16.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |