UA 1703 then AA 1649 at Miami
San Francisco → Miami → Raleigh-Durham
Timetable, Miami time
16:49UA 1703 from San Francisco at the gate
16:47AA 1649 to Raleigh-Durham leaves the gate
23 h 58 apart on the timetable, overnight
AA 1649 leaves 23 h 58 after UA 1703 arrives on the timetable: more than half a day, so not a connection we count.