Click to See Complete Forum and Search --> : want to post last update date


sawhite
08-05-2003, 01:37 PM
I would like to put a message at the bottom of my pages that tell when the page was last updated. I know this is possible as I have done it in the past, but I have lost the code to do it.

anyone out there know how?

thanks,
Shirley White

Charles
08-05-2003, 01:52 PM
If this date stamp is in any way important then use a server side method but if it's just fluff then...

<script type="text/javascript">
<!--
document.write('<p id="date-stamp">This document was last modified', new Date(document.lastModified).toDateString(), '.</p>')
// -->
</script>