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