lastModified property in javascript

lastModified property in javascript

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