<script> document.write(document.lastModified); </script>
Here is a sample of the output…
Note that you can format the appearance simply by wrapping the usual font tags around the scriptlet, like this:
<font size="2" face="Verdana,Arial" color="#FF0000"> <i> <script> document.write(document.lastModified); </script> </i> </font>
Note that in pages with dynamic content — such as this page, with dynamically delivered ads — the datetime stamp changes each time the page is loaded, since the document has, effectively, been changed on each reload with the new ad content.
Posted in: Java