AC 584 then UA 3616 at Newark
Calgary → New York → St Louis
Timetable, New York time
13:26AC 584 from Calgary at the gate
07:00UA 3616 to St Louis leaves the gate
17 h 34 apart on the timetable, overnight
UA 3616 leaves 17 h 34 after AC 584 arrives on the timetable: more than half a day, so not a connection we count.