This value is obtained by inspecting the HTTP headers as they arrive in the browser. The value of this header is defined by the web server, which probably used the modification date of the file in the htdocs directory that it served the content from.
You can check that this is a valid date by handing it to the Date.parse() method as an argument. If Date.parse() yields a zero value, then it is invalid unless the file was last modified in January 1970 which is extremely unlikely.
Prev | Home | Next |
Document.implementation | Up | Document.layers[] |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |