Unopened, they should be good until the expiration date.
Once opened, contact with atmospheric CO2 will cause them to go south fairly quickly. The general rule is that pH 4.0 and 7.0 solutions are good for an absolute maximum of 6 months, but depending on conditions possibly not nearly that long. pH 10.0 solution deteriorates much faster.
And it should go without saying that once you have dipped a probe into a quantity of solution, it is compromised and must be discarded. Don't just dip in the bottle, pour out what you need for a single use.
I would never buy a bottle. Just get the single use sachets. They look more expensive at first. But when you take into account that they are sure to be in perfect condition every time you calibrate, whereas you'll never be sure of your results after the first use from a bottle, and that you'll end up dumping most of a bottle when it goes bad a few months after you buy it, they make sense.
Cleaning and storage solutions are not subject to the same problems. Cleaning solution is basically just hydrochloric acid, and storage is a saturated potassium chloride solution, so they keep just fine. Buy the biggest bargain bottle you can.