|
|
document.lastModified of a pageWE can collect the last modified or created date of the current file by using document object lastModified property.
Here is the syntax
document.lastModified
The above command is case sensitive
The output of current page is here
Here is the complete code for you to try.
<html>
<head>
<title></title>
<script type="text/javascript">
document.write(document.lastModified);
</script>
</head>
<body>
</body>
</html>
Found anything wrong or wants to improve the code by adding more features? Post your short comment here or use the Forum
|
| |
|
|
|
|
|