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/15 01:49,
3.12.152.6: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? |