Page Last Updated

JUST HIGHLIGHT THE TEXT THEN RIGHT CLICK, COPY AND PASTE INTO YOUR HTML PAGE. PLEASE NOTE THAT THIS CODE IS NOT BACKWARDS COMPATABLE WITIN NETSCAPE VERSION < 4 . THIS HAS TO DO THE FIX NETSCAPE MADE FOR THE Y2K PROBLEM!!!(JUST ONE MORE REASON I USE IE)

Source code for Page Last Updated, But When Viewed (Y2K Compliant!).

See the script (exact same one) at work at the bottom of this page!

<!-- This shows the user the last date this page was modified -->
<BR><TT><CENTER><FONT FACE=ARIAL><SCRIPT  type="text/javascript"><!--
var months = new Array
("January","February","March","April","May","June","July","August","September","October","November","December");
var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var lmod = new Date(document.lastModified); var H = lmod.getHours(document.lastModified);
var MI = lmod.getMinutes(document.lastModified);
var S = lmod.getSeconds(document.lastModified);
var Da = lmod.getDay(document.lastModified);
var MO = lmod.getMonth(document.lastModified);
var D = lmod.getDate(document.lastModified);
var Y = lmod.getFullYear(document.lastModified);
var AM =" AM";
if(H>12){H=H-12;AM=" PM";}if(H<10){H="0"+H;}if(MI<10){MI="0"+MI;}if(S<10){S="0"+S;}
var T = days[Da]+ ", "+months[MO]+" "+D+", "+Y+" At "+H+":"+MI+":"+S+ AM;
document.writeln("This page was last updated on "+T+",<BR>");
var now = new Date(); var H = now.getHours(); var MI = now.getMinutes();
var S = now.getSeconds(); var Da = now.getDay(); var M = now.getMonth();
var D = now.getDate(); var Y = now.getFullYear(); var AM =" AM";
if(H>12){H=H-12;AM=" PM";}if(H<10){H="0"+H;}if(MI<10){MI="0"+MI;}if(S<10){S="0"+S;}
var TO = days[Da]+ ", "+months[M]+" "+D+", "+Y+" At "+H+":"+MI+":"+S+ AM;
document.writeln("but you have accessed it on "+TO+".");
//-->

</SCRIPT></FONT></CENTER></TT><BR>