UA 4064 then DL 1371 at Detroit
Houston → Detroit → St Louis
Timetable, Detroit time
13:53UA 4064 from Houston at the gate
12:40DL 1371 to St Louis leaves the gate
22 h 47 apart on the timetable, overnight
DL 1371 leaves 22 h 47 after UA 4064 arrives on the timetable: more than half a day, so not a connection we count.