To add the last date modified to any page, in the HTML version of the page (or in FrontPage's Script Wizard), type in the following at the location where you want the date to appear:
<script language="javascript">
<!--
var date = new Date(document.lastModified);
document.write("Last Updated: " + (date.getMonth()+1)+"/"+date.getDate()+"/"+date.getYear());
// -->
</script>
This will produce something similar to the following:
For example, if you are creating a footer and you want that footer to contain the last date modified, you would include the following in the page:
</b></p>
<hr>
<b><p>This page is part of the <a href="http://www.colstate.edu">Columbus State University</a>
web site.<br>
Send mail to the <a href="http://www.colstate.edu/feedback.asp">CSU Webmaster</a> with questions
or comments about this web site.<br>
<script language="javascript">
<!--
var date = new Date(document.lastModified);
document.write("Last Updated: " + (date.getMonth()+1)+"/"+date.getDate()+"/"+date.getYear());
// -->
</script>
</b></p>
This would produce the following result:
|
This page is part of the Columbus State University
web site. |