<SCRIPT language=javascript>
<!--
BirthDay1=new Date("11/26/2007 02:40:00");//改成你的計(jì)時日期
today1=new Date();
function THINPIGServerTime1(){
today1.setTime(today1.getTime()+250);
timeold1=(today1.getTime()-BirthDay1.getTime());
sectimeold1=timeold1/1000
secondsold1=Math.floor(sectimeold1);
msPerDay1=24*60*60*1000
e_daysold1=timeold1/msPerDay1
daysold1=Math.floor(e_daysold1);
e_hrsold1=(e_daysold1-daysold1)*24;
hrsold1=Math.floor(e_hrsold1);
e_minsold1=(e_hrsold1-hrsold1)*60;
minsold1=Math.floor((e_hrsold1-hrsold1)*60);
seconds1=Math.floor((e_minsold1-minsold1)*60);
document.getElementById("djclock").innerHTML ='<span style="color:#ff5400">'+daysold1+"</span>天<span style="color:#ff5400">"+hrsold1+"</span>小時<span style="color:#ff5400">"+minsold1+"</span>分<span style="color:#ff5400">"+seconds1+"</span>秒";
}
setInterval("THINPIGServerTime1()",250);
//-->
</SCRIPT>
版權(quán)聲明: 本站資源均來自互聯(lián)網(wǎng)或會員發(fā)布,如果侵犯了您的權(quán)益請與我們聯(lián)系,我們將在24小時內(nèi)刪除!謝謝!
轉(zhuǎn)載請注明: 帝國仿站距離多少天js代碼