有谁知道当前时间选项卡下的时间和日期网站中的时间是如何完成的?
我复制了 CSS 和 JavaScript 并将其放在一起,但时间与时间和日期网站不同:我的网站
JavaScript:
et=1364486376;function f0(d){return ld[d.getUTCDay()]+','+' '+lm[d.getUTCMonth()]+' '+d.getUTCDate()+','+' '+d.getUTCFullYear()+' at '+((d.getUTCHours()+11)%12+1)+':'+p2(d.getUTCMinutes())+':'+p2(d.getUTCSeconds())+' '+_ap(d);}
function f1(d){return ld[d.getUTCDay()]+','+' '+lm[d.getUTCMonth()]+' '+d.getUTCDate()+','+' '+d.getUTCFullYear()+' at '+p2(d.getUTCHours())+':'+p2(d.getUTCMinutes())+':'+p2(d.getUTCSeconds());}
function f2(d){return ((d.getUTCHours()+11)%12+1)+':'+p2(d.getUTCMinutes());}
function f3(d){return ''+p2(d.getUTCSeconds());}
function f4(d){return ''+_ap(d);}
function f5(d){return ld[d.getUTCDay()];}
function f6(d){return sm[d.getUTCMonth()]+' '+d.getUTCDate()+','+' '+d.getUTCFullYear();}
function f7(d){return ''+sm[d.getUTCMonth()];}
function f8(d){return ''+d.getUTCFullYear();}
function f9(d){return ''+d.getUTCDate();}
function f10(d){return sd1[d.getUTCDay()];}
cks={clk_hm:{t:[{o:-14400,a:'EDT',d:1}],f:f2},ij0:{t:[{o:-14400,a:'EDT',d:1}],f:f3},clk_am:{t:[{o:-14400,a:'EDT',d:1}],f:f4},ij1:{t:[{o:-14400,a:'EDT',d:1}],f:f5},ij2:{t:[{o:-14400,a:'EDT',d:1}],f:f6},cal_m:{t:[{o:-14400,a:'EDT',d:1}],f:f7},cal_y:{t:[{o:-14400,a:'EDT',d:1}],f:f8},cal_d:{t:[{o:-14400,a:'EDT',d:1}],f:f9},cal_w:{t:[{o:-14400,a:'EDT',d:1}],f:f10}};
lm=[];lm[2]='March';sm=[];sm[2]='Mar';ld=[];ld[2]='Tuesday';ld[3]='Wednesday';ld[4]='Thursday';ld[5]='Friday';sd1=[];sd1[2]='Tue';sd1[3]='Wed';sd1[4]='Thu';sd1[5]='Fri';
function _ap(d){var t=Math.floor(d.getTime()/1E3)%86400;if(t===0){return 'Midnight';}if(t==43200){return 'Noon';}if(t<43200){return 'AM';}return 'PM';}
有人可以告诉我我必须修复或添加什么才能使其正常工作吗?