VBScript Day Select Case

Day Select Case

<html>

<body>
<script type="text/vbscript">
num=weekday(date)

select case num
  case 1
    document.write("Sunday")
  case 2
    document.write("Monday")
  case 3
    document.write("Tuesday")
  case 4
    document.write("Wednesday")
  case 5
    document.write("Thursday")
  case 6
    document.write("Friday")
  case else
    document.write("Saturday")
end select
</script>

</body>
</html>