UA 225 then AC 742 at San Francisco
Philadelphia → San Francisco → Toronto
Timetable, San Francisco time
21:43UA 225 from Philadelphia at the gatealso VA 8238, NZ 9366
14:00AC 742 to Toronto leaves the gatealso UA 8128, OS 8191, OS 8357
16 h 17 apart on the timetable, overnight
AC 742 leaves 16 h 17 after UA 225 arrives on the timetable: more than half a day, so not a connection we count.