DL 1091 then UA 1145 at San Francisco
Salt Lake City → San Francisco → Cancún
Timetable, San Francisco time
23:59DL 1091 from Salt Lake City at the gatealso VS 4542
23:00UA 1145 to Cancún leaves the gate
23 h 01 apart on the timetable, overnight
UA 1145 leaves 23 h 01 after DL 1091 arrives on the timetable: more than half a day, so not a connection we count.