FR 640 then FR 4096 at Manchester
Valencia → Manchester → Riga
Timetable, Manchester time
14:55FR 640 from Valencia at the gate
10:35FR 4096 to Riga leaves the gate
19 h 40 apart on the timetable, overnight
FR 4096 leaves 19 h 40 after FR 640 arrives on the timetable: more than half a day, so not a connection we count.