The length of an earth day is determined by the time required for approximately one

Earth revolution

Earth rotation

Sun revolution

Sun rotation