document.lastModified of a page

WE 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>

Be the first to post comment on this article :


Google+

Post Comment This is for short comments only. Use the forum for more discussions.


Document Object in JavaScript
Cookies
Last Modified Date of the file



HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2015 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer