UA 367 then QF 3654 at San Francisco
Washington → San Francisco → New York JFK
Timetable, San Francisco time
01:29UA 367 from Washington at the gatealso LH 7530, NZ 9181
23:00QF 3654 to New York JFK leaves the gate
21 h 31 apart on the timetable
QF 3654 leaves 21 h 31 after UA 367 arrives on the timetable: more than half a day, so not a connection we count.