Written Chinese stayed the same while the spoken language evolved from the 5th century BC until the 1911 revolution, after which people began writing Chinese the way it's spoken in Beijing. So there's a sharp dividing line just over 100 years ago; Literary Chinese is still taught in school but without that you'd have trouble understanding it.