UA 889 then AC 742 at San Francisco
Beijing → San Francisco → Toronto
Timetable, San Francisco time
14:50UA 889 from Beijing at the gatealso CA 7205
14:00AC 742 to Toronto leaves the gatealso NZ 4734, UA 8128, OS 8191, OS 8357
23 h 10 apart on the timetable, overnight
AC 742 leaves 23 h 10 after UA 889 arrives on the timetable: more than half a day, so not a connection we count.