Year
In astronomy, the Julian year is a unit of time; it is defined as 365.25 days of exactly 86,400 seconds (SI base unit), totalling exactly 31,557,600 seconds in the Julian astronomical year.
Rotation period
Earth's rotation period relative to the Sun (its mean solar day) consists of 86,400 seconds of mean solar time, by definition. Each of these seconds is slightly longer than an SI second because Earth's solar day is now slightly longer than it was during the 19th century, due to tidal deceleration. The mean solar second between 1750 and 1892 was chosen in 1895 by Simon Newcomb as the independent unit of time in his Tables of the Sun. These tables were used to calculate the world's ephemerides between 1900 and 1983, so this second became known as the ephemeris second. The SI second was made equal to the ephemeris second in 1967.