¼Ò½º
<br>
<p align="center"><span id="timer">½Ã°è</span><br><br></p>
<script language="JavaScript">
<!--
function updateTime(){
var now = new Date();
var theHour = now.getHours();
var theMin = now.getMinutes();
var theSec = now.getSeconds();
var theTime = "" + ((theHour > 12) ? theHour - 12 : theHour);
theTime += ((theMin < 10) ? ":0" : ":") + theMin;
theTime += ((theSec < 10) ? ":0" : ":") + theSec;
theTime += (theHour >= 12) ? " PM" : " AM";
document.getElementById('timer').innerHTML = "ÇöÀç ½Ã°£ - " + theTime;
timerID = setTimeout("updateTime()",1000);
}
updateTime();
//-->
</script>
|