what determines the length of a year for a planet
How long it takes to revolve around the sun
the turning of the planet determines it's time