Search
Contact Us
JavaScript
String
Array
Date & Time
Form Validation
Event handling
Math
basic loop
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
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>
referrer: Getting the referrer of the browser to know how the visitor has arrived
title: Managing the title of the page
url: Collecting the full script path or URL by document object
lastModified: Last Modified date & time of the file or page
domain: domain name of the URL or site using this script
write: sening output text to browser by using document.write
Sections
PHP
JavaScript
ASP
HTML
SQL
Photoshop
Articles SEO
Document Object
referrer
page title
URL
lastModified
domain
write
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.
HTML
.
MySQL
.
PHP
.
JavaScript
.
ASP
.
Photoshop
.
Articles
.
FORUM
Contact us
©2000-2010 plus2net.com All rights reserved worldwide
Privacy Policy
Disclaimer