AA 1480 then UA 225 at Philadelphia
Kansas City → Philadelphia → San Francisco
Timetable, Philadelphia time
16:42AA 1480 from Kansas City at the gate
16:38UA 225 to San Francisco leaves the gate
23 h 56 apart on the timetable, overnight
UA 225 leaves 23 h 56 after AA 1480 arrives on the timetable: more than half a day, so not a connection we count.