<%
'********************************************************************
' Name: Calendar.asp
'
' Purpose: Main calendar page that shows events in a calendar format
'
'********************************************************************
dim dbConn, rs, nDex, nMonth, nYear, dtDate
' Get the current date
dtDate = Now()
' Set the Month and Year
nMonth = Request.QueryString("nMonth")
nYear = Request.QueryString("nYear")
if nMonth = "" then nMonth = Month(dtDate)
if nYear = "" then nYear = Year(dtDate)
' Set the date to the first of the current month
dtDate = DateSerial(nYear, nMonth, 1)
Set dbConn = GetDataConnection
Set rs = dbConn.Execute ("GetSchedule " & nMonth & ", " & nYear)
DoHeader(MonthName(Month(dtDate)) & " " & nYear)
%>