显示当前的月份和星期

  1. <html>
  2. <body>
  3.  
  4. <script type="text/vbscript">
  5. document.write("Today's day is " & WeekdayName(weekday(date)))
  6. document.write("<br />")
  7. document.write("The month is " & MonthName(month(date)))
  8. </script>
  9.  
  10. </body>
  11. </html>