HTML DOM lastModified property
Document Object
Definition and Usage
The lastModified property returns the date and time when the document was last modified.
Syntax
document.lastModified
Browser support





All major browsers support the lastModified property.
Example
Example
Return the date and time when the document was last modified:
The date and time when the document was last modified:
Try it »
Document Object