The film Captain Marvel takes place mostly in 1995. But it didn't seem clear from the story why that particular time period was selected.
The time period seemed like a major element of the story and a lot of energy went into its realism - from soundtrack to settings to wardrobe, etc. So I had expected there so be some decisive plot rationale within the film why that point in time was necessary to the story - but can't identify what this is.
In a general way I can see that it fit in with the MCU time period, e.g., the status of S.H.I.E.L.D. at the time, Ronan of the Kree was still around, Captain America was still frozen, no Iron Man yet, etc. The world of 1995 was not really primed for Captain Marvel and that aspect contributed to the plot & characters. But if they just wanted an "old timey" effect it just as easily could have been set in 1975 as 1995. None of this was specific to 1995.
In contrast the time period of the first Captain America film was essential to the character's origin as a WWII soldier and the specific rationale for his being brought-into-being, etc. I don't see any equivalent in Captain Marvel.