Microsoft® JScript getTime Method |
Language Reference Version 1 |
Retrieves the time stored in a Date object.
objDate.getTime()
The getTime method returns an integer value representing the number of milliseconds between midnight, January 1, 1970 and the time stored in the Date object. The range of dates is approximately 285,616 years from either side of midnight, January 1, 1970. Negative numbers indicate dates prior to 1970.When doing multiple date and time calculations, it is frequently useful to define variables equal to the number of milliseconds in a day, hour, or minute. For example:
varMinuteMilli = 1000 * 60
varHourMilli = varMinuteMilli * 60
varDayMilli = varHourMilli * 24
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/jscript/js70.htm, 2KB, , updated: 1997/9/30 03:45, local time: 2024/10/31 16:46,
3.142.172.166: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://ecomorder.com/Techref/language/jscript/js70.htm"> getTime Method</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.