Sunday, 26 May 2013

Generate Days VBScript Program

<html>
<body><center><h1>
<script type="text/vbscript">
d=weekday(Date)
select case d
  case 1
    document.write("Sleepy Sunday")
  case 2
    document.write("Monday again!")
  case 3
    document.write("Just Tuesday!")
  case 4
    document.write("Wednesday!")
  case 5
    document.write("Thursday...")
  case 6
    document.write("Finally Friday!")
  case Else
    document.write("Super Saturday!!!!")
End Select
</script>
</h1>
</center>
</body>
</html>

No comments:

Post a Comment