The RenderEvents method renders the events in the Messages collection.
strHTML = objCalendarView.RenderEvents( [varStartDate] [, varResponseObject] )
The RenderEvents method renders events starting with a date calculated from the varStartDate parameter, but not necessarily equal to its value. The rendering starts at the beginning of the time unit containing the varStartDate value. For example, if the calendar view's Mode property is set to CdoModeCalendarWeekly, the ContainerRenderer object's FirstDayOfWeek property is set to CdoSunday, and the value of varStartDate indicates a Friday, events are rendered starting with the preceding Sunday.
The RenderEvents method generates an HTML table containing one or more cells. If the Mode property is CdoModeCalendarDaily, the table contains the date being rendered in the first row and events for that day, if any, in subsequent rows.
If Mode is CdoModeCalendarWeekly, the table contains a single row with the starting and ending dates for the week being rendered. The starting date is calculated using the FirstDayOfWeek property. No events are rendered because there are no weekly events.
Events are rendered for the number of time units indicated by the NumberOfUnits property, beginning with the starting date calculated from the varStartDate parameter. If NumberOfUnits is greater than 1, each events table appears as a cell within an outer table. The outer table is a single row with NumberOfUnits columns.