UA 3874 then DL 1827 at O'Hare
Chicago → Chicago → New York LaGuardia
Timetable, Chicago time
01:21UA 3874 from Chicago at the gate
17:40DL 1827 to New York LaGuardia leaves the gate
16 h 19 apart on the timetable
DL 1827 leaves 16 h 19 after UA 3874 arrives on the timetable: more than half a day, so not a connection we count.