I want to put a note on my pages to show the last time the page was updated. I googled it and found:
<script type="text/javascript" language="JavaScript">
document.write(document.lastModified)
</script></p>
However, this only seems to show the last time the page was loaded into the browser. For instance, I added this script two days ago and it read, "Last updated on Wednesday, May 28, 2008."
No changes have been made since then.
Today, it reads "Last updated on Friday, May 30, 2008"
I did have the time showing as well and, each time I refreshed the page, the time would update.
Is there an easy was to show the past time a page was changed and uploaded to the server?
Thanks!
Joe
<script type="text/javascript" language="JavaScript">
document.write(document.lastModified)
</script></p>
However, this only seems to show the last time the page was loaded into the browser. For instance, I added this script two days ago and it read, "Last updated on Wednesday, May 28, 2008."
No changes have been made since then.
Today, it reads "Last updated on Friday, May 30, 2008"
I did have the time showing as well and, each time I refreshed the page, the time would update.
Is there an easy was to show the past time a page was changed and uploaded to the server?
Thanks!
Joe