QF 3657 then UA 368 at San Francisco
New York JFK → San Francisco → Chicago O'Hare
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
23:30UA 368 to Chicago O'Hare leaves the gatealso AC 4372, NZ 9307
23 h 31 apart on the timetable, overnight
UA 368 leaves 23 h 31 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.