How Long can You Store Gasoline?

I have found that 3 months would be as long as you can store gasoline. It does go bad and is not good to put old gas into an engine. I have learned that from experience!