The book I have gives the following derivation:
Let the temperature of the atmosphere be $-\theta$ and the temperature of the water be $0$. Consider unit cross sectional are of ice, if layer of thickness $dx$ forms in time $dt$ with $x$ thickness of ice above it, heat released due to its formation is $dx\rho L$ where $L$ is latent heat. If this quantity of heat is conducted upwards in time $dt$, $$dx\rho L=K\frac{\theta}{x}dt$$
Therefore, the time taken $$t=\frac{\rho L}{2K\theta}(x_{2}^2-x_{1}^2)$$
What I don't understand is why the same amount of time should be taken for the heat to be conducted and for a new layer of ice to be formed. In other words, why is it that the next layer of ice forms only after the heat is released into the atmosphere?