UA 3904 then WN 1652 at San Francisco
Denver → San Francisco → Denver
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
13:20WN 1652 to Denver leaves the gate
14 h 30 apart on the timetable, overnight
WN 1652 leaves 14 h 30 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.