Recording the Written date can be useful (it is a feature on Bookogs’ Works) as it is sometimes cited in scholarly articles or listed at the end of a novel.
You raise a good point about date range. A lot of science fiction and fantasy novels / novellas, etc. were first serialized in magazines, so the first publication date can range over several months (for Charles Dickens’ serialized works, they can range over a year and a half or more). On Bookogs it is possible to list multiple dates, so the publication history can be listed as a range e.g. The Strange People by Murray Leinster https://books.discogs.com/work/522449-the-strange-people