When a local planning office writes to neighbours to indicate give them the opportunity to object to an application for planning permission, how many days are they given to respond?

The period of response is 21 days.