UA 3772 then KL 5638 at San Francisco
Colorado Springs → San Francisco → New York JFK
Timetable, San Francisco time
23:55UA 3772 from Colorado Springs at the gate
23:05KL 5638 to New York JFK leaves the gate
23 h 10 apart on the timetable, overnight
KL 5638 leaves 23 h 10 after UA 3772 arrives on the timetable: more than half a day, so not a connection we count.