WN 2952 then UA 5787 at Denver
Los Angeles → Denver → Rapid City
Timetable, Denver time
22:10WN 2952 from Los Angeles at the gate
15:45UA 5787 to Rapid City leaves the gate
17 h 35 apart on the timetable, overnight
UA 5787 leaves 17 h 35 after WN 2952 arrives on the timetable: more than half a day, so not a connection we count.