UA 5355 then UA 616 at Denver
Salt Lake City → Denver → San Francisco
Timetable, Denver time
12:24UA 5355 from Salt Lake City at the gate
09:50UA 616 to San Francisco leaves the gate
21 h 26 apart on the timetable, overnight
UA 616 leaves 21 h 26 after UA 5355 arrives on the timetable: more than half a day, so not a connection we count.