In simple terms: "X months' + noun (or noun phrase, etc.) " requires an apostrophe as it means " [the amount of of] X months' [worth] of noun" (e.g. Three months' wages = three months [worth] of wages = the value of the wages for three months), the genitive apostrophe is required. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.