The industry standard for rubber is 6 years.
Yeah, you can go longer, but its the most important single component on your bike, and tires are not expensive.
IMHO, 6 years is very conservative, but 30 years is dangerous - unless your willing to crash and hobble home.