<!-- Clock Part 1 - Put Anywhere Before Part 2 -->
<script language="JavaScript"> // Anytime Anywhere Web Page Clock Generator // Clock Script Generated at // http://www.rainbow.arch.scriptmania.com/tools/clock
function timeSource(){ x=new Date(); x.setTime(x.getTime()); return x; } function leadingZero(x){ return (x>9)?x:'0'+x; } function twelveHour(x){ if(x==0){ x=12; } return (x>12)?x-=12:x; } function fixYear2(x){ x=(x<500)?x+1900:x; return String(x).substring(2,4) } function displayTime(){ if(fr==0){ fr=1; document.write('<font size=2 face=Arial><b><span id="tP">'+eval(outputTime)+'</span></b></font>'); } document.getElementById('tP').innerHTML=eval(outputTime); setTimeout('displayTime()',1000); } function amPMsymbol(x){ return (x>11)?'pm':'am'; } var dayNames=new Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); var monthNames=new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); var fr=0; var outputTime="dayNames[timeSource().getDay()]+' '+timeSource().getDate()+' '+monthNames[timeSource().getMonth()]+' '+fixYear2(timeSource().getYear())+' '+':'+':'+' '+twelveHour(timeSource().getHours())+':'+leadingZero(timeSource().getMinutes())+':'+leadingZero(timeSource().getSeconds())+' '+amPMsymbol(timeSource().getHours())"; </script>
<!-- Clock Part 1 - Ends Here -->
<!-- Clock Part 2 - This Starts/Displays Your Clock -->
<script language="JavaScript">displayTime();</script>
<!-- Clock Part 2 - Ends Here -->
|