UA 4717 then AC 786 at LAX
Phoenix Sky Harbor → Los Angeles → Toronto
Timetable, Los Angeles time
15:10UA 4717 from Phoenix Sky Harbor at the gate
13:45AC 786 to Toronto leaves the gate
22 h 35 apart on the timetable, overnight
AC 786 leaves 22 h 35 after UA 4717 arrives on the timetable: more than half a day, so not a connection we count.