Search code examples
icalendarrfc5545

iCal format for recurring events with start time and end time


Let's say I want to schedule a team meeting every monday at 10 am to 5pm. What would be the ical format for this schedule?

So far I have this but am not sure how to indicate the end time. Considering the event recurs forever

DTSTART:19971022T100000 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO


Solution

  • Given your confusion here is a possible VEVENT example:

    BEGIN:VEVENT UID:[email protected] DTSTART:19971022T100000 DTEND:19971022T170000 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO END:VEVENT

    also keep in mind that as per the RFC5545, the first instance will be included in the list of occurences (with your example a Wednesday).