发新话题
打印

网页中如何制作时间跟随

网页中如何制作时间跟随

  <script>
  var tempDate=new Date();
  document.write(tempDate.getYear() "年" (tempDate.getMonth() 1) "月" tempDate.getDate() "日");
  </script>



  注:客户端时间

TOP

发新话题