close
原始碼:
<script language="javascript">
function time(){
now=new Date();
year="西元"+now.getYear()+"年";
month=now.getMonth()+1+"月";
date=now.getDate()+"日";
hour=now.getHours()+"點";
mins=now.getMinutes()+"分";
sec=now.getSeconds()+"秒";
document.timeform.timetext.value=year+month+date+hour+mins+sec;
window.setTimeout("time()",1000);
}
</script>
全站熱搜
留言列表