lastModified property of the document

You can always include the last update date on your page by using the following code:

<script language="JavaScript">
document.write("This page created by Suneel.G. Last update:" + document.lastModified);
</script>

All you need to do here is use the lastModified property of the document. Notice that we used + to put together This page created by Suneel.G . Last update: and document.lastModified.

0 comments :

Post a Comment

> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger