网页中如何制作时间跟随
<script>
var tempDate=new Date();
document.write(tempDate.getYear()+"年"+(tempDate.getMonth()+1)+"月"+tempDate.getDate()+"日");
</script>
注:客户端时间
<script>
var tempDate=new Date();
document.write(tempDate.getYear()+"年"+(tempDate.getMonth()+1)+"月"+tempDate.getDate()+"日");
</script>
注:客户端时间