<center><h1>Document Last Modified 2</h1></center>
<p>Here is another variation on the 'last modified' script. Remember that some servers, Compuserve's Ourworld in particular, do not support this. </p>
<script language=JavaScript>
<!-- 
/* This JavaScript is composed by Bart Van Hemelen.
* You can contact him at bvh10000@hotmail.com
* or via this website http://www.geocities.com/~tenthousand/ .
* If you like this code so much you want to use it on your website,
* you can -- as long as you include this copyright notice.
*/

// Array of day names
var dayNames = new
Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");

// Array of month names
var monthNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December");

today = new Date()
lastmod = new Date(document.lastModified)
diffdays = Math.ceil( (today.getTime()-
lastmod.getTime())/(24*60*60*1000) )
var then = new Date(document.lastModified);
document.writeln("<p>This page was updated on "+ dayNames[then.getDay()] + " " + then.getDate() + " " + monthNames[then.getMonth()] +  then.getYear() + ", " + diffdays + " days ago.</p>")
//  -->
</script>
