Red Dwarf (1988)
S3E6 The Last Day
Upon discovering that Kryten has just 24 hours to live, the crew of Red Dwarf unites in a heartfelt effort to ensure he experiences the most incredible night imaginable. They pull together to create unforgettable moments for their beloved android, determined to make his final hours truly special.