HTML DOM Document lastModified
Get the date and time the document was last modified:
Convert the lastModified property into a date object:
Definition and Usage
lastModified property returns the date and time the document was last modified.
lastModified property is read-only.
The "Try it Yourself" examples always return the current date/time because the document was created at run time.
|String||The date and time the document was last modified.|
document.lastModified is a DOM Level 3 (2004) feature.
It is fully supported in all browsers: