UA 5489 then AA 3176 at LAX
Kansas City → Los Angeles → San Francisco
Timetable, Los Angeles time
17:58UA 5489 from Kansas City at the gate
12:37AA 3176 to San Francisco leaves the gate
18 h 39 apart on the timetable, overnight
AA 3176 leaves 18 h 39 after UA 5489 arrives on the timetable: more than half a day, so not a connection we count.