Please can someone give me some advise on when to apply for my wife & daughter's ILR

They arrived in UK on 23 September 2013 on Marriage visa

So can we apply for ILR 30 days before 23 September 2018 - this is 5 years

Or do we have to wait to apply 30 days before the expiration of FLR in 21 May 2019 on residence permit card

Many Thanks