Navigator 2.0, Internet Explorer 3.0
date.getTime()
none
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.
file: /Techref/language/JAVA/SCRIPT/definitive/refp_55.htm, 4KB, , updated: 2019/10/14 15:00, local time: 2024/11/19 19:36,
18.191.186.12: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://linistepper.com/Techref/language/JAVA/SCRIPT/definitive/refp_55.htm"> [Chapter 21] Reference: Date.getTime()</A> |
Did you find what you needed? |