显示上次修改文档的日期和时间

  1. <html>
  2. <body>
  3.  
  4. This document was last modified on:
  5. <script type="text/javascript">
  6. document.write(document.lastModified)
  7. </script>
  8.  
  9. </body>
  10. </html>