UA 2364 then UA 1971 at San Francisco
Newark → San Francisco → Chicago O'Hare
Timetable, San Francisco time
22:52UA 2364 from Newark at the gatealso VA 8513, NZ 9122
22:45UA 1971 to Chicago O'Hare leaves the gatealso AC 4200, AC 5432, NZ 9303
23 h 53 apart on the timetable, overnight
UA 1971 leaves 23 h 53 after UA 2364 arrives on the timetable: more than half a day, so not a connection we count.