Planned c-section

Does anyone know when the NHS lets you know or gives you an appointment for a planned c-section? Im due in 11 weeks. But the midwife said i'll have it done at 39 weeks