%@ LANGUAGE = VBScript %> <% Option Explicit %>
The date is: <%= varDate %>
<% 'Select Case statement to display a message based on the day of the month. Select Case Day(varDate) Case 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Response.Write("It's the beginning of the month.
") Case 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 Response.Write("It's the middle of the month.
") Case Else Response.Write("It's the end of the month.
") End Select %>The time is: <%= Time %>
<% 'Check for AM/PM, and output appropriate message. If (Right(Time,2)="AM") Then Response.Write("Good Morning
") Else Response.Write("Good Evening
") End If %>