QF 3657 then NZ 9628 at San Francisco
New York JFK → San Francisco → Salt Lake City
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
16:15NZ 9628 to Salt Lake City leaves the gate
16 h 16 apart on the timetable, overnight
NZ 9628 leaves 16 h 16 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.