question: What sitcom did Nicholas Lyndhurst play in that ran for 6 years on BBC1 from 1993 to 1999?
answer: Goodnight Sweetheart
context: Title: Ryan Sampson
  Passage: Ryan Oliver Sampson is an English actor best known for playing Grumio in the British sitcom "Plebs" and in Comedy sketch show, Glitchy also Alex Venables in "After You've Gone", where he played the son of Jimmy Venables, played by Nicholas Lyndhurst.  He also appeared in two episodes of Doctor Who in 2008, The Sontaran Stratagem and The Poison Sky playing Luke Rattigan.
  Title: Little Problems
  Passage: "Little Problems" is an episode of the BBC sit-com, "Only Fools and Horses".  It was the final episode of series 6, and was first screened on 12 February 1989.  John Sullivan's idea for the script came from a drink with David Jason and Nicholas Lyndhurst one evening, and the idea grew into this episode.
  Title: Nicholas Lyndhurst
  Passage: Nicholas Simon Lyndhurst (born 20 April 1961) is an English actor.  He is known for playing Rodney Trotter in "Only Fools and Horses", Gary Sparrow in "Goodnight Sweetheart", Dan Griffin in the BBC drama "New Tricks" and Adam Parkinson in Carla Lane's series "Butterflies".  Lyndhurst also prominently starred as Ashley Philips in "The Two of Us", as Fletch's son Raymond in "Going Straight", the sequel to the classic British sitcom "Porridge", Jimmy Venables in "After You've Gone", and Freddie 'The Frog' Robdal in the "Only Fools and Horses" prequel "Rock & Chips".
  Title: Goodnight Sweetheart (TV series)
  Passage: Goodnight Sweetheart was a British sitcom that ran for six series on BBC1 from 1993 to 1999.  The show returned on 2 September 2016, for a one-off special entitled "Many Happy Returns". .  It starred Nicholas Lyndhurst as Gary Sparrow, an accidental time traveller who leads a double life after discovering a time portal allowing him to travel between the London of the 1990s and the same area during the Second World War.
  Title: Gwyneth Strong
  Passage: Gwyneth Strong (born 2 December 1959) is an English actress.  She is best known for her role in the BBC sitcom "Only Fools and Horses" as Cassandra, the love interest and, later, wife of Rodney (Nicholas Lyndhurst).
  Title: Emma Amos (actress)
  Passage: Emma Amos (born 18 August 1964 in Newcastle-under-Lyme, Staffordshire) is an English actress.  She played Yvonne Sparrow in the last three series and 2016 special of time travel sitcom "Goodnight Sweetheart" alongside Nicholas Lyndhurst, replacing original actress Michelle Holmes who held the role from 1993-96.  In 1992, she played Sherbet Gravel in Philip Ridley's controversial stage play "The Fastest Clock in the Universe".
  Title: List of Goodnight Sweetheart characters
  Passage: This is a list of characters from "Goodnight Sweetheart", a BBC sitcom that ran for six series from 1993 and 1999.  It starred Nicholas Lyndhurst as the accidental time traveller Gary Sparrow, who leads a double life after discovering a time portal allowing him to travel from the 1990s to a war-torn London.  The show was created by Laurence Marks and Maurice Gran, also creators of other hits such as "Birds of a Feather" and "The New Statesman."  The creators wrote the first series, episodes after which were written by a team of writers, including Marks and Gran.
  Title: My First Planet
  Passage: My First Planet is a British radio sitcom written by Phil Whelans.  Set on a newly founded space colony, second-in-command Brian Palmer (Nicholas Lyndhurst) finds himself unexpectedly in charge when their intended leader dies and must work with the colonists to ensure their survival.
  Title: Rock &amp; Chips
  Passage: Rock & Chips is a British television comedy-drama and a prequel to the sitcom "Only Fools and Horses".  Set in 1960s Peckham, it focuses primarily on the lives of Del Trotter, Freddie Robdal and Joan and Reg Trotter.  Nicholas Lyndhurst, who played Rodney in "Only Fools and Horses", plays Robdal alongside James Buckley (Del Boy), Kellie Bright (Joan), Shaun Dingwall (Reg) and Phil Daniels (Grandad).  The Shazam Productions and BBC co-production was written by "Only Fools and Horses" creator John Sullivan, directed by Dewi Humphreys and produced by Gareth Gwenlan.
  Title: Rodney Trotter
  Passage: Rodney Charlton "Rodders" Trotter is a fictional character in the long running BBC sitcom "Only Fools and Horses", played by Nicholas Lyndhurst.  He was named after Rod Taylor and Charlton Athletic.
citations: Nicholas Lyndhurst Goodnight Sweetheart (TV series)