AA 728 then BA 540 at Heathrow
Philadelphia → London → Bologna
Timetable, London time
07:50AA 728 from Philadelphia at the gate
07:25BA 540 to Bologna leaves the gate
23 h 35 apart on the timetable, overnight
BA 540 leaves 23 h 35 after AA 728 arrives on the timetable: more than half a day, so not a connection we count.