UA 2840 then KJ 248 at O'Hare
Newark → Chicago → Atlanta
Timetable, Chicago time
13:54UA 2840 from Newark at the gate
07:40KJ 248 to Atlanta leaves the gate
17 h 46 apart on the timetable, overnight
KJ 248 leaves 17 h 46 after UA 2840 arrives on the timetable: more than half a day, so not a connection we count.