UA 561 then UA 574 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
16:27UA 574 to Phoenix leaves the gatealso AZ 4502
20 h 17 apart on the timetable, overnight
UA 574 leaves 20 h 17 after UA 561 arrives on the timetable: more than half a day, so not a connection we count.