It's whichever comes first, years or miles. However, unless the car has sat un-driven for long periods, or has been raced, I'd personally go by the mileage - within reason. At about 10yrs. though, even if you hadn't quite made it to the mileage, I'd replace it. By then you'd be wise to be changing the water pump anyway.