lastModified property in javascript

lastModified property is used to get the date and time when the document is last modified.
  1. <html>
  2. <body>
  3. <script type="text/javascript">
  4. document.write(document.lastModified);
  5. </script>
  6. </body>
  7. </html>
Output:
1.png