QF 3657 then UA 2854 at San Francisco
New York JFK → San Francisco → Philadelphia
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
23:20UA 2854 to Philadelphia leaves the gatealso VA 8450, NZ 9360
23 h 21 apart on the timetable, overnight
UA 2854 leaves 23 h 21 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.