UA 5355 then UA 2149 at Denver
Salt Lake City → Denver → Sacramento
Timetable, Denver time
12:24UA 5355 from Salt Lake City at the gate
08:00UA 2149 to Sacramento leaves the gate
19 h 36 apart on the timetable, overnight
UA 2149 leaves 19 h 36 after UA 5355 arrives on the timetable: more than half a day, so not a connection we count.