No, it's 28 days before the end of the 2 years qualifying period. Though you also must apply before your visa expires.
There is a suggestion that the BIA will put your application on hold if your visa expires prior to 28 days before the end of the 2 years qualifying period.
Thanks for that
I got married here so i'll start counting now wahhhhhhh never been out of the country yet.