日期时间信息 Script_日期时间特效

模板酷站

      日期时间信息Script,您可以先修改部分代码再运行.


      <script language="Javascript"> <!-- //Credit must stay intact //Visit java-scripts.net or http://wsabstract.com for this script now = new Date if (now.getHours() < 5) { document.write("What are you doing up so late?") } else if (now.getHours() < 9) { document.write("Good morning!") } else if (now.getHours() < 17) { document.write("No surfing during work hours!") } else { document.write("Good evening!") } //--> </script>