UA 3904 then BA 5602 at San Francisco
Denver → San Francisco → Dallas-Fort Worth
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
11:20BA 5602 to Dallas-Fort Worth leaves the gate
12 h 30 apart on the timetable, overnight
BA 5602 leaves 12 h 30 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.