SQ 1462 then F9 1094 at San Francisco
New York JFK → San Francisco → Denver
Timetable, San Francisco time
17:40SQ 1462 from New York JFK at the gate
12:20F9 1094 to Denver leaves the gatealso Y4 2071
18 h 40 apart on the timetable, overnight
F9 1094 leaves 18 h 40 after SQ 1462 arrives on the timetable: more than half a day, so not a connection we count.