UA 5840 then KJ 248 at O'Hare
Appleton → Chicago → Atlanta
Timetable, Chicago time
07:51UA 5840 from Appleton at the gate
07:40KJ 248 to Atlanta leaves the gate
23 h 49 apart on the timetable, overnight
KJ 248 leaves 23 h 49 after UA 5840 arrives on the timetable: more than half a day, so not a connection we count.