Just to correct AppleMacster who was almost right....
1. All exams must be taken within 18 months.
2. You've then got 3 years from the end of the month in which the last exam was passed to do your CPL and IR and get them issued.
3. ATPL theory credit is then valid for 7 years from the date of your last IR renewal.