[COLOR=#000000]<script type="text/javascript">
var currenttime = '[COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]print [/COLOR][COLOR=#0000BB]date[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"F d, Y H:i:s"[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]time[/COLOR][COLOR=#007700]())[/COLOR][COLOR=#0000BB]?>[/COLOR]' //PHP method of getting server date
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
var serverdate=new Date(currenttime)
function padlength(what){
var output=(what.toString().length==1)? "0"+what : what
return output
}
function displaytime(){
serverdate.setSeconds(serverdate.getSeconds()+1)
var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds())
document.getElementById("servertime").innerHTML=datestring+" "+timestring
}
window.onload=function(){
setInterval("displaytime()", 1000)
}
</script>
<span id="servertime"></span>[/COLOR]