How did moment of inertia affect the length of the day? Please try to explain briefly.
If you are talking about the moment of inertia of the earth, then the answer is that increasing the moment of inertia $I$ of a planet makes its days last longer.
The reason is that the angular momentum can be written as: $$L=\omega I$$ where $\omega=2\pi/T$ , $\quad T\;$ being the duration of a day. For a spinning planet, the angular momentum related to the rotation of the planet around its axis is nearly conserved, since the external forces applied to the planet are reasonably weak (Sun, Jupiter and the Moon gravitational attraction in our case).
So if $L$ is nearly conserved then an increase in the moment of inertia causes a decrease in the angular velocity $\omega$ and therefore an increase in the duration of the day $T$.