10 year old tires ok for highway driving?

Do tires have dates on them?
If you buy some tires from a wrecker or from a junk pile how do you know if your getting something better then whats on it?