<% '------------------------------------------------------------ ' This function finds the last date of the given month '------------------------------------------------------------ Function GetLastDay(intMonthNum, intYearNum) Dim dNextStart If CInt(intMonthNum) = 12 Then dNextStart = CDate( "1/1/" & intYearNum) Else dNextStart = CDate(intMonthNum + 1 & "/1/" & intYearNum) End If GetLastDay = Day(dNextStart - 1) End Function '------------------------------------------------------------------------- ' This routine prints the individual table divisions for days of the month '------------------------------------------------------------------------- Sub Write_TD(sValue, sClass) Response.Write " " & sValue & "" & vbCrLf End Sub ' Constants for the days of the week Const cSUN = 1, cMON = 2, cTUE = 3, cWED = 4, cTHU = 5, cFRI = 6, cSAT = 7 ' Get the name of this file sScript = Request.ServerVariables("SCRIPT_NAME") ' Check for valid month input If IsEmpty(Request("MONTH")) OR NOT IsNumeric(Request("MONTH")) Then datToday = Date() intThisMonth = Month(datToday) ElseIf CInt(Request("MONTH")) < 1 OR CInt(Request("MONTH")) > 12 Then datToday = Date() intThisMonth = Month(datToday) Else intThisMonth = CInt(Request("MONTH")) End If ' Check for valid year input If IsEmpty(Request("YEAR")) OR NOT IsNumeric(Request("YEAR")) Then datToday = Date() intThisYear = Year(datToday) Else intThisYear = CInt(Request("YEAR")) End If strMonthName = MonthName(intThisMonth) datFirstDay = DateSerial(intThisYear, intThisMonth, 1) intFirstWeekDay = WeekDay(datFirstDay, vbSunday) intLastDay = GetLastDay(intThisMonth, intThisYear) ' Get the previous month and year intPrevMonth = intThisMonth - 1 If intPrevMonth = 0 Then intPrevMonth = 12 intPrevYear = intThisYear - 1 Else intPrevYear = intThisYear End If ' Get the next month and year intNextMonth = intThisMonth + 1 If intNextMonth > 12 Then intNextMonth = 1 intNextYear = intThisYear + 1 Else intNextYear = intThisYear End If ' Get the last day of previous month. Using this, find the sunday of ' last week of last month LastMonthDate = GetLastDay(intLastMonth, intPrevYear) - intFirstWeekDay + 2 NextMonthDate = 1 ' Initialize the print day to 1 intPrintDay = 1 ' Open a record set of schedules Set Rs = Server.CreateObject("ADODB.RecordSet") ' These dates are used in the SQL dFirstDay = intThisMonth & "/1/" & intThisYear dLastDay = intThisMonth & "/" & intLastDay & "/" & intThisYear sSQL = "SELECT DISTINCT Start_Date, End_Date FROM t50Events WHERE " & _ "(Start_Date >=#" & dFirstDay & "# AND Start_Date <= #" & dLastDay & "#) " & _ "OR " & _ "(End_Date >=#" & dFirstDay & "# AND End_Date <= #" & dLastDay & "#) " & _ "OR " & _ "(Start_Date < #" & dFirstDay & "# AND End_Date > #" & dLastDay & "# )" & _ "ORDER BY Start_Date" 'Response.Write sSQL ' Open the RecordSet with a static cursor. This cursor provides bi-directional navigation Rs.Open sSQL, sDSN, adOpenStatic, adLockReadOnly, adCmdText %> Richmond Parents Monthly | Fifty Plus - Richmond magazines for seniors and parents
Fifty Plus Monthly Features
 
college edge
Richmond Parents Monthly cover Nov09

 Feature Focus
 First Thoughts
 Family
       Connection
 Book Reviews
 Growing Up
        Online
 Frumpy Zone
 KidSpin
 Party Page
 Look!
 Contest
 Dine on a Dime
 Around Town
 Take Care
 Site Map

Calendar
Support Groups
About Us
Advertise
Classified Ads
Camp Fair!
Richmond Parents Resource Directory
Visit FityPlus Magazine online

August
Seniors in High School
• Welcome to your senior year! With all of your hard work, you have made it. Now is the time to set yourself up for being at the top of the heap. Approach it with a sense of accomplishment, fulfillment and dignity.
• Set up a strong academic schedule that will play to your successes. Colleges need to see a strong academic course load.
• Check online at collegeboard.com and act.org or in your school’s guidance office for this year’s SAT/ACT schedule. The first test dates are in October, so remember to register.
• Follow up with your teachers who have agreed to write your letters of recommendations. Please thank them for taking their personal time to help you.

Juniors in High School
• Welcome to your junior year! Make this a good year to improve your grades and to pull all of your hard work together.
• Your junior year is most important for colleges. They believe that you have matured academically and should have both a challenge and success. Colleges feel that your academic successes will predict your work at the college level.
• Look closely at your class schedule and make sure that you have balance and challenge. With the classes you have chosen, do you feel confident that you will make strong grades? Not only should you take the most challenging course load that you can handle, but you should also take what interests you.

 

Julie Bruner, M.Ed., wrote “The College Edge: Getting My Tail Into College,” a planner for high school juniors and seniors. Currently a college counselor at Trinity Episcopal School, she can be contacted at juliebru -at -comcast.net..