UA 573 then WN 1051 at Denver
San Francisco → Denver → San Diego
Timetable, Denver time
23:59UA 573 from San Francisco at the gate
13:55WN 1051 to San Diego leaves the gate
13 h 56 apart on the timetable, overnight
WN 1051 leaves 13 h 56 after UA 573 arrives on the timetable: more than half a day, so not a connection we count.