AA 104 then BA 594 at Heathrow
New York JFK → London → Venezia
Timetable, London time
09:15AA 104 from New York JFK at the gate
08:05BA 594 to Venezia leaves the gate
22 h 50 apart on the timetable, overnight
BA 594 leaves 22 h 50 after AA 104 arrives on the timetable: more than half a day, so not a connection we count.