网站运行时间统计JS

2013-12-24 23:51:43 -0500
BirthDay=new Date(" 11, 16,2012 ");
today=new Date();
timeold=(today.getTime()-BirthDay.getTime());
sectimeold=timeold/1000
secondsold=Math.floor(sectimeold);
msPerDay=24*60*60*1000
e_daysold=timeold/msPerDay
daysold=Math.floor(e_daysold);
document.write(" 【本站已安全运行<font color=red>"+daysold+"</font>天】<font color=red><hr></font>");
«Newer      Older»
Comment:
Name:

Back to home

Subscribe | Register | Login | N