Javascript Essentials Part 1

Last Date of Page Updated

Want to know which date the page was last modified or updated? Add following javascript code in body section of page.

<SCRIPT language=JavaScript>
var m = "" + document.lastModified;
var p = m.length-8;
document.write(m.substring(p, 0));

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *