LH 9178 then QF 3654 at San Francisco
Chicago O'Hare → San Francisco → New York JFK
Timetable, San Francisco time
17:25LH 9178 from Chicago O'Hare at the gate
07:00QF 3654 to New York JFK leaves the gate
13 h 35 apart on the timetable, overnight
QF 3654 leaves 13 h 35 after LH 9178 arrives on the timetable: more than half a day, so not a connection we count.