UA 431 then WN 1822 at Denver
Bozeman → Denver → Sacramento
Timetable, Denver time
18:25UA 431 from Bozeman at the gate
16:50WN 1822 to Sacramento leaves the gate
22 h 25 apart on the timetable, overnight
WN 1822 leaves 22 h 25 after UA 431 arrives on the timetable: more than half a day, so not a connection we count.