AA 369 then LA 2695 at Miami
San Francisco → Miami → Lima
Timetable, Miami time
17:06AA 369 from San Francisco at the gate
16:45LA 2695 to Lima leaves the gate
23 h 39 apart on the timetable, overnight
LA 2695 leaves 23 h 39 after AA 369 arrives on the timetable: more than half a day, so not a connection we count.