How the calculation works
The calculator converts your departure local time to UTC using the IANA time zone database (built into modern browsers via the Intl API). It then adds your flight duration in UTC time — avoiding any daylight saving time edge cases during the flight. Finally, it converts the resulting UTC timestamp back to local time in both the destination and origin time zones.
This method correctly handles: daylight saving transitions (e.g., US → Europe when clocks change mid-flight), crossing the International Date Line (LA → Tokyo, a date change), and any half-hour or quarter-hour UTC offset time zones (India, Nepal, South Australia).
Source: ECMAScript Intl API specification · IANA Time Zone Database.