RE: Gas
I personally have ran fuel that was over a year old. As long as the container has been tightly sealed, I would say years.
In all honesty.. a person has no idea how long it originally sat on the shelf or in a warehouse before ever getting to the store.