Complex sentence: Earth's rotation is slowing slightly with time, thus a day was shorter in the past, this is due to the tidal effects the Moon has on Earth's rotation.
Split into simpler sentences: Earth's rotation is slowing slightly with time; thus, a day was shorter in the past. This is due to the tidal effects the Moon has on Earth's rotation.