NZ 9675 then SQ 1491 at San Francisco
Sacramento → San Francisco → New York JFK
Timetable, San Francisco time
15:29NZ 9675 from Sacramento at the gate
06:00SQ 1491 to New York JFK leaves the gate
14 h 31 apart on the timetable, overnight
SQ 1491 leaves 14 h 31 after NZ 9675 arrives on the timetable: more than half a day, so not a connection we count.