lastModified property in javascript
lastModified property is used to get the date and time when the document is last modified.
- <html>
- <body>
- <script type="text/javascript">
- document.write(document.lastModified);
- </script>
- </body>
- </html>
Output:


Join the conversation! Your thoughts help the community grow.