WN 3999 then UA 652 at Denver
Sacramento → Denver → St Louis
Timetable, Denver time
09:40WN 3999 from Sacramento at the gate
09:35UA 652 to St Louis leaves the gate
23 h 55 apart on the timetable, overnight
UA 652 leaves 23 h 55 after WN 3999 arrives on the timetable: more than half a day, so not a connection we count.