Remind me how long after canning food became widespread in the USA was McDonalds created?

Was it 50 years? 100?