QF 3657 then UA 917 at San Francisco
New York JFK → San Francisco → Auckland
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
22:45UA 917 to Auckland leaves the gate
22 h 46 apart on the timetable, overnight
UA 917 leaves 22 h 46 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.