% Dim strDSN : strDSN = Application("DSN") Dim strSQL ' used to Pass the SQL statements Dim rsCal ' used for Calendar of Events Dim flag ' used as a flag for checking the images Dim selYear ' used for storing the selected year Dim selMonth Dim rs ' used for storing the selected month Dim i selYear = request("cmbYear") selMonth = request("cmbMonth") IF selYear = "" THEN selYear = YEAR(NOW()) END IF IF selMonth = "" THEN selMonth = MONTH(NOW()) END IF dim days dim Xdate dim WorkDate WorkDate = selMonth & "/1/" & selYear firstDayofMonth = WeekDay(selMonth&"/1/"&selYear) CalenderMonth = Month(WorkDate) If len(CalenderMonth) <> 2 then CalenderMonth = "0" & CalenderMonth end if CalenderYear = Right((WorkDate),4) 'putting the weekdays in the first cell html = "
|
|
|
|
|||||||||||||||||||||||||||
|