WN 865 then WN 1822 at Denver
Burbank → Denver → Sacramento
Timetable, Denver time
17:10WN 865 from Burbank at the gate
16:50WN 1822 to Sacramento leaves the gate
23 h 40 apart on the timetable, overnight
WN 1822 leaves 23 h 40 after WN 865 arrives on the timetable: more than half a day, so not a connection we count.