UA 2364 then UA 2278 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 2278 to Chicago O'Hare leaves the gate
23 h 53 apart on the timetable, overnight
UA 2278 leaves 23 h 53 after UA 2364 arrives on the timetable: more than half a day, so not a connection we count.