Format iCalendar files

About iCalendar files

iCalendar, often referred to as iCal, is a standard internet calendar format that enables users to create and share electronic calendars across different computers and different programs.

As the format continues to grow in popularity, many companies have chosen to use the iCalendar standard. Apple's iCal, a personal calendar application that runs on the Mac OS X operating system, is one of many programs that currently use this format. Others include Mozilla Sunbird and Microsoft Outlook.

Format iCalendar files

An iCalendar file is used for calendar data exchange. The first line in an iCalendar file must always be the header "BEGIN: VCALENDAR". This must be followed by other header information, including "VERSION:2.0" and "PRODID:< [enter ID information here] >". The last line of the file must be the footer "END: VCALENDAR". Between these lines is where all the events in the calendar are entered. Each event must be between “BEGIN:VEVENT” and “END:VEVENT” lines.

If you need to manually edit an iCalendar file, make sure that each file contains the header and footer mentioned above. If you are unsure where your header ends, just copy and paste the text until one line above “BEGIN:VEVENT”, which is where your header ends and your event data starts. The basic outline of an iCalendar file looks like this:

BEGIN: VCALENDAR
VERSION:2.0
PRODID:< [enter ID information here] >
(other header information goes here)
BEGIN:VEVENT
(event details for individual event)
END:VEVENT
BEGIN:VEVENT
(event details for individual event)
END:VEVENT
END: VCALENDAR

end