It should be three years (or 2 years and 9 months) after you get your green card. For example, if you get your green card in 07/2007, you can apply for citizenship in 04/2010.