UA 561 then UA 5401 at San Francisco
Kansas City → San Francisco → Phoenix
Timetable, San Francisco time
20:10UA 561 from Kansas City at the gatealso OZ 6318, NZ 9502
12:00UA 5401 to Phoenix leaves the gatealso NZ 9375
15 h 50 apart on the timetable, overnight
UA 5401 leaves 15 h 50 after UA 561 arrives on the timetable: more than half a day, so not a connection we count.