TOC PREV NEXT INDEX

domref



lastModified


Returns the date on which the current document was last modified.

Syntax

date = document.lastModified
 

Parameters

date is a string containing the date and time of last modification.

Example

dump(document.lastModified);
 
// returns: Tuesday, July 10, 2001 10:19:42
 

Notes

Note that as a string, lastModified cannot easily be used for comparisions between the modified dates of documents.

Specification

link to DOM spec here


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX