UA 2240 then AA 3176 at LAX
Denver → Los Angeles → San Francisco
Timetable, Los Angeles time
19:28UA 2240 from Denver at the gate
12:37AA 3176 to San Francisco leaves the gate
17 h 09 apart on the timetable, overnight
AA 3176 leaves 17 h 09 after UA 2240 arrives on the timetable: more than half a day, so not a connection we count.