UA 1703 then AC 7271 at Miami
San Francisco → Miami → Toronto
Timetable, Miami time
16:49UA 1703 from San Francisco at the gate
16:40AC 7271 to Toronto leaves the gate
23 h 51 apart on the timetable, overnight
AC 7271 leaves 23 h 51 after UA 1703 arrives on the timetable: more than half a day, so not a connection we count.