Files and formats
How to Prepare an ICS File to Import Events Without Shifting Times or Duplicating Appointments
Check time zones, recurrence rules, and UIDs before importing a calendar. A small test helps catch time shifts and duplicate appointments.
What an ICS File Contains and What to Check Before Importing
An .ics file uses the iCalendar format to represent calendar information. Its usual structure includes VCALENDAR, a format version, a product identifier, and one or more VEVENT blocks. DTSTART marks the beginning of an event; its end can be indicated by DTEND or DURATION. Other properties may describe the subject, location, description, time zone, or recurrence. The basic structure is shown in [Google Calendar Help](https://support.google.com/calendar/answer/37118?hl=en-US), but an .ics file extension does not guarantee that every application will interpret each property in the same way.
Keep an untouched copy and check that the file opens as text without strange characters or incomplete blocks. Look for BEGIN:VCALENDAR and END:VCALENDAR, and confirm that every BEGIN:VEVENT has a matching END:VEVENT. Note which calendar and time period you expect to import, and check DTSTART, DTEND or DURATION, UID, and any RRULE, EXDATE, or RECURRENCE-ID. Also check the destination's limitations: Google says that importing events does not include guests or conference data.
- Do not manually change times before identifying whether they are in UTC, associated with a time zone, or floating.
- In Outlook.com, importing a file creates a snapshot that does not update if the source calendar changes. See [Microsoft Help](https://support.microsoft.com/en-us/outlook/import-or-subscribe-to-a-calendar-in-outlook-com-or-outlook-on-the-web).
How to Tell UTC, a Time with TZID, and a Floating Time Apart
The [iCalendar specification, RFC 5545](https://www.rfc-editor.org/rfc/rfc5545), states that a date-time ending in Z is expressed in UTC. For example, DTSTART:20251020T150000Z represents 15:00 UTC. A local date-time with TZID identifies the time zone to apply: DTSTART;TZID=Europe/Madrid:20251020T170000 represents 17:00 in that zone. For an iCalendar object to be conformant, it must include the corresponding VTIMEZONE component for each TZID it uses. Some importers may infer a time zone on their own, but it is best not to rely on that behavior.
A date-time without Z and without TZID is floating: it expresses a local clock time without assigning it to a specific time zone. Do not automatically convert it to UTC on the assumption that it corresponds to your location; the same value can mean different things to people in different places. When validating, compare the expected local time, the time zone shown by the destination, and the time after import—not just the field's text.
- Ends in Z: treat the value as UTC.
- Includes TZID: keep the identifier and verify that the file includes the corresponding VTIMEZONE.
- Includes neither: treat it as a floating time and confirm how the destination interprets it.
What to Check in Recurrence Rules, Exceptions, and Excluded Dates
A recurring series is not necessarily a set of independent events. RRULE describes a pattern; RDATE can add dates, and EXDATE can exclude specific instances. If the rule is removed or only the first VEVENT is exported, later repetitions may be lost. Check DTSTART together with the rule, because the start date anchors the interpretation of occurrences.
A modified instance may appear as an exception linked to the series through RECURRENCE-ID. Depending on the file data, it may have a different time or be canceled. Do not delete properties that look repeated without determining whether they identify an exception. For series that span a seasonal time change, check whether the intent is to keep the same local time: a rule associated with a time zone can produce different UTC times during the year, while a series defined in UTC keeps that time reference.
- Find RRULE, RDATE, and EXDATE before modifying the series.
- When the file includes them, check exceptions and dates before and after the time change.
How to Use UID to Investigate Duplicate Appointments
UID is an identifier for a calendar entry and can help investigate whether two items appear to come from the same event. In a series, instances can share the series UID and be distinguished using RECURRENCE-ID; therefore, a matching UID alone does not prove that there are two identical copies. Also compare the date, time, summary, and relationship to the recurrence.
Do not assume that the destination application will always deduplicate by UID or use it in a particular way: behavior depends on the product and import workflow. If an appointment reappears, keep the result and check it in a test calendar before deleting anything from the main calendar.
- Matching UID: confirm whether the items are copies or instances of the same series.
- Different UID with similar data: it may be a separate entry.
Test Time Changes with a Small Number of Events
Start with a small sample in a test calendar separate from the calendar that will receive the full import, or in another environment you can review without changing work appointments. If they are present in the file, include a UTC event, one with TZID, a floating-time event, an all-day event, a recurring series, and an exception. For the relevant time zone, choose dates on both sides of a seasonal time change.
Do not import the full file again into the same test calendar while the sample is still there. Before doing so, remove the sample events from that calendar or use another test calendar for the full import.
Compare each imported event with the original file: date, expected local time, duration, recurrence, and exceptions. If something goes wrong, first identify the affected type of value—UTC, TZID, floating time, or recurrence—and change one thing at a time. Record the destination's observed behavior rather than generalizing it to other applications.
- Stop the bulk import if the expected local time changes or an important occurrence disappears.
- Keep the test sample separate; do not import the full file into that calendar until you have removed the sample.
Why Converting to CSV Can Lose Information
CSV can be useful for reviewing or moving tabular fields. Google Calendar lets you import ICS and CSV files from a computer and defines fields such as Start Time and End Time, according to its [import documentation](https://support.google.com/calendar/answer/37118?hl=en-US). But a row with a start and end does not necessarily represent all iCalendar relationships: a recurrence rule, an excluded date, an exception linked to its series, a UID, or a time zone may not have a direct equivalent in a simple table.
The result depends on the converter and process: some tools expand a series into rows, while others keep only the base event; they may also omit properties that do not have an equivalent column. Use CSV only if you know which fields the destination accepts and have verified the relevant recurrences, time zones, and exceptions.
- When comparing the result, check the number and dates of the occurrences, not just the visible titles.
Final Checklist for Validating the Import
Keep the original ICS file and work on a copy. In Apification Cloud, you can organize files and projects in a versioned space; the versions feature lets you review history, download earlier versions, and restore content. This can help manage test files, but it does not imply that Cloud has specific compatibility with ICS import or validation.
When the sample matches what you expect, import the full file and review a few simple events, recurring events, and events near time changes. Confirm the destination's limitations and the type of updates it offers: an import from a file may not preserve all data and is not necessarily the same as a subscription.
- Classify times as UTC, TZID, or floating, and check recurrence properties when present.
- Compare dates, times, and occurrences in the sample before processing the full calendar.
Frequently asked questions
Is a time without Z always in my time zone?
No. If it also has no TZID, it may be a floating time with no associated time zone. Its interpretation depends on the context and the destination application's behavior.
Are two events with the same UID duplicates?
Not necessarily. Instances in a series can share a UID and be distinguished by RECURRENCE-ID.
Is it safe to convert an ICS file to CSV for importing?
It depends on which fields the converter keeps and the destination accepts. Recurrences, exceptions, identifiers, and time zones may not be represented in a simple table.
Sources and further reading
Documentation consulted while preparing this article.
- Cómo importar eventos al Calendario de Google — Ayuda de Calendario de Google
- Importar o suscribirse a un calendario en Outlook.com o Outlook en la Web — Soporte técnico de Microsoft
- iCalendar: el formato iCal para tus calendarios digitales — IONOS
Explore Apification
Related articles
Files and formats
How to Combine CSV Files with Columns in Different Orders Without Shifting Data
A practical guide to stacking rows from multiple CSV files by matching values to headers, handling inconsistent fields, and checking the result before using it.
Files and formats
Multipage TIFF to PDF: How to Check the Order and Avoid Missing Pages
Reliable conversion starts before you click “Convert”: count the TIFF pages, run a test, and compare the PDF with the original.
Files and formats
Convert a PDF to Grayscale for Printing: What to Check Before You Send It
Prepare a monochrome version without losing the original, then check pages, graphics, contrast, and readability before sending the PDF to print.