You can apply 3 months before your intended date of travelling to Ireland.