UA 2859 then WN 1844 at Denver
Memphis → Denver → St Louis
Timetable, Denver time
18:08UA 2859 from Memphis at the gate
18:05WN 1844 to St Louis leaves the gate
23 h 57 apart on the timetable, overnight
WN 1844 leaves 23 h 57 after UA 2859 arrives on the timetable: more than half a day, so not a connection we count.