//	This will display the current server time and date 

whatDate = new Date();

var whatDay = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");

var whatMonth = new Array("January","February","March","April","May","June","July","August","September","October","November","December");


var Hours;
var Mins;
var Time;

Hours = whatDate.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}

if (Hours > 12) {
Hours -= 12;
}

if (Hours == 0) {
Hours = 12;
}

Mins = whatDate.getMinutes();

if (Mins < 10) {
Mins = "0" + Mins;
}
	
document.write(Hours + ":" + Mins + Time +" Local Time &#8226 "+whatDay[whatDate.getDay()]+", "+whatMonth[whatDate.getMonth()]+" "+whatDate.getDate()+", "+whatDate.getFullYear()+"");


//
