This is a simple Java script to display the date on your web page. It is a good idea to display a current date on web pages to ensure your web viewers that you are infact alive and well and that this web site is not something that was put up long ago and forgotten. The veiwer needs to be assured someone is on the other end of your site.
<div id="Date"><script language="JavaScript">
<!-- Begin
var months=new Array(13);
months[1]="January";
months[2]="February";
months[3]="March";
months[4]="April";
months[5]="May";
months[6]="June";
months[7]="July";
months[8]="August";
months[9]="September";
months[10]="October";
months[11]="November";
months[12]="December";
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
if (year < 2000)
year = year + 1900;
document.write(lmonth + " ");
document.write(date + ", " + year);
// End -->
</script></div>