Under the old rules, the earliest you can apply is 28 days before your 3rd year of stay here in the UK (3 years from the day you arrived at the airport).