Nowhere in the novel Treasure Island does Robert Louis Stevenson give us an exact year that this story took place. We can tell from the very beginning of the story that it is sometime in the 1700’s. “Dr. Livesey, and the rest of these gentlemen having asked me to write down the whole particulars about Treasure Island, from the beginning to the end, keeping nothing back but the bearings of the island, and that only because there is still treasure not yet lifted, I take up my pen in the year of grace 17__ and go back to the time when my father kept the Admiral Benbow inn and the brown old seaman with the sabre cut first took up his lodging under our roof.”
You can also trace some of the years by the names of other actual people mentioned within the pages of the novel, by cross-referencing the names with dates.