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