We know that the freezing of water at meting point is a reversible process.
Calculation of entropy for the system (the water) and surrounding for this freezing process is simply heat divided by melting temperature. The total entropy change of this process is thus zero, demonstrating the statement of the second law of thermodynamics.