SQ 1462 then UA 3872 at San Francisco
New York JFK → San Francisco → IAB
Timetable, San Francisco time
11:08SQ 1462 from New York JFK at the gate
09:00UA 3872 to IAB leaves the gate
21 h 52 apart on the timetable, overnight
UA 3872 leaves 21 h 52 after SQ 1462 arrives on the timetable: more than half a day, so not a connection we count.