DL 2368 then UA 2866 at O'Hare
Los Angeles → Chicago → San Francisco
Timetable, Chicago time
17:50DL 2368 from Los Angeles at the gate
16:35UA 2866 to San Francisco leaves the gate
22 h 45 apart on the timetable, overnight
UA 2866 leaves 22 h 45 after DL 2368 arrives on the timetable: more than half a day, so not a connection we count.