We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

iCalendar Hourly

How would I define a iCalendar for the following:

Every hour from 9:00 AM to 5:00PM


Every weekday


i.e can you combine daily and hourly crietria in iCalendar?

This message was posted using Aspose.Live 2 Forum


Please find the example below for generating dates for a month, every weekdays, every hour 9AM to 5PM.

RecurrencePattern pattern = new RecurrencePattern(
“DTSTART:20100301T090000\n” +

DateCollection dates = pattern.GenerateOccurrences();
foreach (DateTime date in dates)