Navigator 2.0, Internet Explorer 3.0
Date.parse(date)
A string containing the date and time to be parsed.
The number of milliseconds between the specified date and time and midnight, January 1st, 1970, GMT.
Date.parse() is a function with a name that begins with "Date". It is related to the Date object, but it is not a method of the Date object, and is not invoked on a Date object. It is always invoked as Date.parse(), not as date.parse() on some Date object date.
Date.parse() takes a single string argument. It parses the date contained in this string and returns it in millisecond format, which can be used directly, or used to create a new Date object, or to set the date in an existing Date object with Date.setTime().
Date.parse() understands the IETF standard date format used in email and other Internet communications. Dates in this format look like this:
Wed, 8 May 1996 17:41:46 -0400
This is the format written by the Date.toGMTString() method. Date.parse() can also parse dates in this format from which the day of the week, the time zone, the seconds or the complete time specification have been omitted. It also understands the GMT time zone, and the standard abbreviations for the time zones of the United States.
In Navigator 2.0, prior to 2.0.2, this function cannot correctly parse time zone information.
file: /Techref/language/JAVA/script/definitive/refp_58.htm, 5KB, , updated: 2019/10/14 16:00, local time: 2024/10/31 21:36,
18.225.92.27: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://sxlist.com/Techref/language/JAVA/script/definitive/refp_58.htm"> [Chapter 21] Reference: Date.parse()</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.