SQ 1460 then UA 2225 at San Francisco
New York JFK → San Francisco → Newark
Timetable, San Francisco time
21:37SQ 1460 from New York JFK at the gate
15:00UA 2225 to Newark leaves the gatealso VA 8158, NZ 9115
17 h 23 apart on the timetable, overnight
UA 2225 leaves 17 h 23 after SQ 1460 arrives on the timetable: more than half a day, so not a connection we count.