The answer is when the earth rotaes and the sun stays still on its place in the solar system the rotation affects day become sometimes you see the sun  on the sky at the middle when noon then on the other side that means the earth rotated on the other side already the suns rays are hitting the other countries