How long did you date before engagement/marriage?

I keep hearing 2 years is a good amount of time. Of course it depends on so many other factors. How long was it for you?