WS 8997 then F8 627 at Toronto Pearson
Hamilton (YHM) → Toronto → Calgary
Timetable, Toronto time
19:34WS 8997 from Hamilton (YHM) at the gate
19:00F8 627 to Calgary leaves the gate
23 h 26 apart on the timetable, overnight
F8 627 leaves 23 h 26 after WS 8997 arrives on the timetable: more than half a day, so not a connection we count.