Visit Mozilla.org

DOM:document.lastModified

From MDC

« Gecko DOM Reference

Contents

[edit] Summary

Returns a string containing the date and time on which the current document was last modified.

[edit] Syntax

string = document.lastModified 

[edit] Example

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

[edit] Notes

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

[edit] Specification

DOM Level 0. Not part of any standard.

MSDN: lastModified Property