| |
|
Please select the day in which you would like to
utilize our service.
|
|
"><<
|
<%=MonthName(ThisMonth)%> <%=ThisYear%>
|
">>>
|
|
| Su |
Mo |
Tu |
We |
Th |
Fr |
Sa |
<%
' Loop through until the number of days In the Month is reached.
Do While (ThisDay <= DaysInMonth)
%>
<%
For LoopDay = 1 To 7
' if ThisDay is still 0, check To see if the current day of the week In the Loop
' matches the day of the week For the first day of the Month.
' if the values match, Set ThisDay To 1.
' Otherwise, the value will remain 0 until the correct day of the week is found.
if (ThisDay = 0 And FirstDay = LoopDay) Then
ThisDay = 1
End if
' if the ThisDay value is still 0, or it is greater than the number of days
' In the Month, display nothing in the column.
' Otherwise, display the day of the Month and increment the value.
if (ThisDay > 0 And ThisDay <= DaysInMonth) Then
if (LoopDay <> 1 And LoopDay <> 7) Then
%>
|
&dDate=<%=ThisYear%>-<%=ThisMonth%>-<%=ThisDay%>">
<%=ThisDay%>
|
<%
Else
%>
&dDate=<%=ThisYear%>-<%=ThisMonth%>-<%=ThisDay%>">
<%=ThisDay%>
|
<%
End if
ThisDay = ThisDay + 1
Else
%>
|
<%
End if
Next
%>
<%
Loop
%>
|
|