WN 1352 then UA 2794 at LAX
Denver → Los Angeles → Chicago O'Hare
Timetable, Los Angeles time
17:59WN 1352 from Denver at the gate
15:43UA 2794 to Chicago O'Hare leaves the gate
21 h 44 apart on the timetable, overnight
UA 2794 leaves 21 h 44 after WN 1352 arrives on the timetable: more than half a day, so not a connection we count.