F9 4567 then UA 2781 at Denver
St Louis → Denver → Rapid City
Timetable, Denver time
21:30F9 4567 from St Louis at the gate
19:25UA 2781 to Rapid City leaves the gate
21 h 55 apart on the timetable, overnight
UA 2781 leaves 21 h 55 after F9 4567 arrives on the timetable: more than half a day, so not a connection we count.