BA 791 then AA 9600 at Heathrow
Göteborg → London → Chicago
Timetable, London time
13:55BA 791 from Göteborg at the gate
13:00AA 9600 to Chicago leaves the gate
23 h 05 apart on the timetable, overnight
AA 9600 leaves 23 h 05 after BA 791 arrives on the timetable: more than half a day, so not a connection we count.