One year has the length of 365 days, 5 hours, 48 minutes and 45 seconds. This is hard to calculate with, so a normal year has been given 365 days and a leap year 366 days. In leap years, February 29th is added as leap day, which doesn't exist in a normal year. A leap year is every 4 years, but not every 100 years, then again every 400 years.
This year 2024 is a leap year. The last leap year was 2020, the next will be 2028.
1804 1808 1812 1816 1820 1824 1828 1832 1836 1840 1844 1848 1852 1856 1860 1864 1868 1872 1876 1880 1884 1888 1892 1896 | 1904 1908 1912 1916 1920 1924 1928 1932 1936 1940 1944 1948 1952 1956 1960 1964 1968 1972 1976 1980 1984 1988 1992 1996 2000 | 2004 2008 2012 2016 2020 2024 2028 2032 2036 2040 2044 2048 2052 2056 2060 2064 2068 2072 2076 2080 2084 2088 2092 2096 | 2104 2108 2112 2116 2120 2124 2128 2132 2136 2140 2144 2148 2152 2156 2160 2164 2168 2172 2176 2180 2184 2188 2192 2196 | 2204 2208 2212 2216 2220 2224 2228 2232 2236 2240 2244 2248 2252 2256 2260 2264 2268 2272 2276 2280 2284 2288 2292 2296 | 2304 2308 2312 2316 2320 2324 2328 2332 2336 2340 2344 2348 2352 2356 2360 2364 2368 2372 2376 2380 2384 2388 2392 2396 2400 |
The fact that the length of a year is not divisible by the length of a day without a remainder was already known in ancient times. To solve this problem, Julius Caesar set the leap day on February 29th in 45 BCE when he introduced the Julian calendar. This improved the calendar enormously and pushed the problem of days not matching exactly several centuries into the future. But a quarter of a day (six hours), which is delayed every four years by the leap day, is a little more than 5 hours, 48 minutes and 45 seconds. And at some point the error became apparent in that the days of the year were at a different point in the seasonal cycle. The Julian calendar was one day too slow every 128 years. In 1582, Pope Gregory XIII introduced the Gregorian calendar, and in that year the 4th was followed by the 15th of October, making up ten days. It took a good 200 years for it to become accepted worldwide. The solution that every 100 years is not a leap year, but every 400 years is, represented the true length of the day in a year fairly well, but not completely accurately. The Gregorian calendar is one day too slow every 3231 years, so in the distant future a day will have to be skipped in the calendar. This will probably be a leap day that then will not occur.