UA 317 then FR 7242 at Dublin
Newark → Dublin → Valletta
Timetable, Dublin time
09:55UA 317 from Newark at the gate
05:50FR 7242 to Valletta leaves the gate
19 h 55 apart on the timetable, overnight
FR 7242 leaves 19 h 55 after UA 317 arrives on the timetable: more than half a day, so not a connection we count.