UA 5935 then UA 6002 at Denver
Salt Lake City → Denver → Palm Springs
Timetable, Denver time
20:03UA 5935 from Salt Lake City at the gate
13:40UA 6002 to Palm Springs leaves the gate
17 h 37 apart on the timetable, overnight
UA 6002 leaves 17 h 37 after UA 5935 arrives on the timetable: more than half a day, so not a connection we count.