---
name: normalise-flight-itinerary-times
description: "Convert each flight's printed local departure and arrival times to UTC using the offset or time zone on that date, then work out elapsed times and connection gaps, flagging next-day arrivals and clock-change times. Use when someone asks how long a flight really takes or why an arrival date looks wrong."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/normalise-flight-itinerary-times
---

# Calculate flight durations across time zones

Put each flight on a common timeline while preserving local departure and arrival dates, including next-day arrivals and repeated clock times.

## When to use this skill

- An itinerary shows arrival on the next day or the day before, and the person wants the real flight time.
- Someone is planning a connection or a pick-up and needs every departure and arrival on one timeline.
- A flight departs or arrives on a night when the clocks change.

## When not to use it

- Live flight status, delays or actual departure times. Check the airline or airport.
- Judging whether a connection leaves enough time at the airport. Use the self-transfer skill for separate tickets, or the airline's minimum connection time on one ticket.

## What you need

- Each flight's local departure and arrival dates and times with IANA time zones or explicit numeric UTC offsets.
- The itinerary's +1 or +2 date markers and any information distinguishing repeated local times when daylight saving ends.

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Does the ticket print a UTC offset, or only the airport? With only the airport, the time zone and its rule on that date are needed.
- Is the arrival date printed in full, or only as a +1 or -1 marker?
- For a time during a clock change, does the airline give the UTC time, or say which of the repeated times it means?

## Method

1. Keep the printed local dates, times and airports as evidence. Work out the arrival date first: apply a +1, +2 or -1 marker to the departure date, or use the printed arrival date. If both appear, check they agree instead of adding the marker twice.
2. Use an explicit UTC offset when the ticket prints one. Otherwise find the airport's IANA time zone and its offset on that date from the time zone database.
3. Check that the local time exists and is unique on that date. UK clocks go back at 2am on the last Sunday in October, so 01:00 to 01:59 happens twice; US clocks jump from 2am to 3am on the second Sunday in March, so 02:00 to 02:59 does not exist. Other countries have their own rules. Flag an ambiguous or skipped time and ask for the offset or corrected time.
4. Convert departure and arrival to UTC and subtract to get elapsed minutes. Never subtract the printed clock times. Call the result scheduled elapsed time unless actual times were given.
5. Keep any endpoint that resolves even when the other does not, and leave the duration empty until both are known.
6. For connecting legs, compare each departure in UTC with the previous arrival in UTC. A negative duration or a departure before the previous arrival points to a date or zone error; flag it and keep the printed evidence.

## Checks before you deliver

- Crossing the date line can produce a local arrival date earlier than departure.
- A repeated 01:30 during a clock change can identify two different real instants.
- Subtracting the printed local times, which is wrong whenever the airports are in different zones.
- Using a summer offset for a winter flight, or the reverse, instead of the offset on the travel date.
- Adding a +1 marker to an arrival date that already includes it, which puts the arrival a day late.

## How to present the result

Lead with each flight's elapsed time in hours and minutes. Then give a table per leg: printed local departure and arrival with zone or offset, UTC departure and arrival, duration and any issue. For a flagged time, say exactly what to ask the airline, such as the UTC time or which of the repeated clock times is meant.

## Worked example

**Request:** Work out elapsed flight time from this booking.

**Supplied material:**

```text
F8 departs 2026-07-02 21:20 -04:00. Arrival printed 09:05 +1 local, +01:00.
```

**Answer:** F8’s scheduled journey takes 6 hours 45 minutes. The schedule shows departure at 01:20 UTC and arrival at 08:05 UTC on 3 July. The printed 09:05 arrival is local time on the next calendar day.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

For each leg ID return depart_utc, arrive_utc (ISO YYYY-MM-DDTHH:MMZ or null), duration_min (integer or null), and issue ('ambiguous-local-time', 'nonexistent-local-time', 'invalid-order', 'missing-zone' or null). Use null for a negative duration. Preserve known endpoints when only the other endpoint is unresolved.

## Sources

- [IANA time zone database](https://www.iana.org/time-zones): The database records the history and future rules of UTC offsets and daylight saving for locations worldwide, and software uses it to find a place's offset on a given date. The skill relies on it for named zones when the ticket prints no offset.
- [GOV.UK: when do the clocks change?](https://www.gov.uk/when-do-the-clocks-change): UK clocks go forward at 1am on the last Sunday in March and back at 2am on the last Sunday in October, which in 2026 are 29 March and 25 October. This is why 01:30 on 25 October 2026 in London is ambiguous.
- [NIST: daylight saving time](https://www.nist.gov/pml/time-and-frequency-division/popular-links/daylight-saving-time-dst): The US National Institute of Standards and Technology states that daylight saving time begins at 2:00 a.m. local time on the second Sunday in March, when clocks jump to 3:00 a.m., and ends at 2:00 a.m. on the first Sunday in November. This is why 02:30 on 8 March 2026 in New York does not exist.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/normalise-flight-itinerary-times
