lastModified property (document, XMLDocument)
Retrieves the date and time when the document was last modified.
In case of HTML documents, the fileCreatedDate, fileModifiedDate, fileUpdatedDate and fileSize properties provide further information about the file in Internet Explorer.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the date and time. You can use this value in the constructor of the Date object.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the lastModified property:
Did you find this example helpful?
User Contributed Comments