How to Check When a Web Page was Last Updated: lastModified Property
document lastModified Property Syntax:
document lastModified Property Input Value
The property is read-only and so it does not accept a value.
document lastModified Property Return Value
The return value of this property is a string containing the date and time of the last time the document was updated.