js时间特效
<script>
jnkc.innerHTML= new Date().getYear()+'年'+eval(new Date().getMonth()+1)+'月'+new Date().getDate()+'日' +' 星期'+'日一二三四五六'.charAt(new Date().getDay())+' '+new Date().getHours()+'时'+new Date().getMinutes()+'分'+new Date().getSeconds()+'秒';
setInterval("jnkc.innerHTML= new Date().getYear()+'年'+eval(new Date().getMonth()+1)+'月'+new Date().getDate()+'日' +' 星期'+'日一二三四五六'.charAt(new Date().getDay())+' ' +new Date().getHours()+'时'+new Date().getMinutes()+'分'+new Date().getSeconds()+'秒';",1000);
</script>
<script>
jnkc.innerHTML= new Date().getYear()+'年'+eval(new Date().getMonth()+1)+'月'+new Date().getDate()+'日' +' 星期'+'日一二三四五六'.charAt(new Date().getDay())+' '+new Date().getHours()+'时'+new Date().getMinutes()+'分'+new Date().getSeconds()+'秒';
setInterval("jnkc.innerHTML= new Date().getYear()+'年'+eval(new Date().getMonth()+1)+'月'+new Date().getDate()+'日' +' 星期'+'日一二三四五六'.charAt(new Date().getDay())+' ' +new Date().getHours()+'时'+new Date().getMinutes()+'分'+new Date().getSeconds()+'秒';",1000);
</script>
浙公网安备 33010602011771号