Sell-by-date Definition

noun

The final date on which a perishable product can be legally sold to the public.

Wiktionary
(idiomatic, by extension) Used to indicate that something, or someone, is old and out of date.
Wiktionary