As Earth is rotating around its axis,the moon having a gravitational pull on earth’s oceans and some of the crust below(moon arises tides on the earth).It turns out that the moon attracts the ocean tides.Roughly every 100 years, the day gets about 1.4 milliseconds,or 1.4 thousandths of a second, longer.But this is a small effect because the tides aren’t very high and the moon is very faraway.
The Earth has its own magnetic field , it acts like there is huge bar magnet buried inside,but this bar magnet is not on the earth rotational axis it is shifted by some angle.The south of the bar magnet is on the magnetic north and the south polarity is on the magnetic north(image).As opposite polarities attract the magnetic needle (north) is attracted to the south polarity in the magnetic north.That’s why the needle always points north.If you want to know “why earth has magnetic field?”go to letter E.