UA 5840 then DL 1556 at O'Hare
Appleton → Chicago → Los Angeles
Timetable, Chicago time
07:51UA 5840 from Appleton at the gate
07:45DL 1556 to Los Angeles leaves the gate
23 h 54 apart on the timetable, overnight
DL 1556 leaves 23 h 54 after UA 5840 arrives on the timetable: more than half a day, so not a connection we count.