Date.getTime() Method
Name
Date.getTime() Method---return a Date in milliseconds
Navigator 2.0, Internet Explorer 3.0
Synopsis
The millisecond representation of the specified Date object
date. That is, this method returns the number of
milliseconds between midnight (GMT) on 1/1/1970 and the date
and time specified by date.
getTime() converts a date and time to a single
integer. This is useful when you want to compare two Date
objects or to determine the time elapsed between two dates.
Date.parse() and Date.UTC() allow you to
convert a date and time specification to millisecond
representation without going through the overhead of first
creating a Date object.
Date.getSeconds()
Date.getTimezoneOffset()
file: /Techref/language/java/script/definitive/refp_55.htm,
4KB, , updated: 2019年10月14日 16:00, local time: 2025年9月23日 03:40,
©2025 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://massmind.org/techref/language/java/script/definitive/refp_55.htm"> [Chapter 21] Reference: Date.getTime()</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.