HTML DOM lastModified property
Definition and Usage
lastModified property returns the date and time the document was last modified.
grammar
document.lastModified
Browser Support
There is major browsers support lastModified property.
Examples
Examples
Returns the date and time the document was last modified:
<html>
<body>
文档最后修改的日期和时间:
<script>
document.write(document.lastModified);
</script>
</body>
</html>
<body>
文档最后修改的日期和时间:
<script>
document.write(document.lastModified);
</script>
</body>
</html>
try it"
Document Object