today=new Date();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var timeValue = "" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? ":0" : ":") + minutes+"";
timeValue += (hours >= 12) ? "PM" : "AM";
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i
2005年8月25日 星期四 9:01AM |
|