Free Support Forum - aspose.com

Problem with ICalendar

I’ve just purchased the ICalendar component and we have encounter a problem.
For example, we created an appointment which start August 9,2005(Tue) and recurring weekly on every Wednesday for 5 occurrence.But the first occurrence is on August 9,2005(Tuesday) instead of August 10,2005(Wednesday).

Please advice.

Thanks,
KK

According to the iCalendar standard the start date is included in the result set. To resolve this you can either make the start date same as the first occurrence date or add the start date to the list of excluded dates ExDates.