[HOME] [datelab] Extra days along the gregorian epoch ====================================== (C) 1999-05-25, Magnus Bodin <magnus@bodin.org> TABLE a. Extra days =================== Due to the length of the gregorian (and ISO) year; i.e. 365 days, each year results in an extra instance of either one or two weekdays each year. The cycle is the yeartypes. Note e.g. that yeartype 12 gives us a whole extra weekend. +---------------------+ | year type extra | +---------------------+ | 1970 3 Thu | | 1971 4 Fri | | 1972 12 Sat-Sun | | 1973 0 Mon | | 1974 1 Tue | | 1975 2 Wed | | 1976 10 Thu-Fri | | 1977 5 Sat | | 1978 6 Sun | | 1979 0 Mon | | 1980 8 Tue-Wed | | 1981 3 Thu | | 1982 4 Fri | | 1983 5 Sat | | 1984 13 Sun-Mon | | 1985 1 Tue | | 1986 2 Wed | | 1987 3 Thu | | 1988 11 Fri-Sat | | 1989 6 Sun | | 1990 0 Mon | | 1991 1 Tue | | 1992 9 Wed-Thu | | 1993 4 Fri | | 1994 5 Sat | | 1995 6 Sun | | 1996 7 Mon-Tue | | 1997 2 Wed | | 1998 3 Thu | | 1999 4 Fri | | 2000 12 Sat-Sun | | 2001 0 Mon | | 2002 1 Tue | | 2003 2 Wed | | 2004 10 Thu-Fri | | 2005 5 Sat | | 2006 6 Sun | | 2007 0 Mon | | 2008 8 Tue-Wed | | 2009 3 Thu | | 2010 4 Fri | | 2011 5 Sat | | 2012 13 Sun-Mon | | 2013 1 Tue | | 2014 2 Wed | | 2015 3 Thu | | 2016 11 Fri-Sat | | 2017 6 Sun | | 2018 0 Mon | | 2019 1 Tue | | 2020 9 Wed-Thu | | 2021 4 Fri | | 2022 5 Sat | | 2023 6 Sun | | 2024 7 Mon-Tue | | 2025 2 Wed | | 2026 3 Thu | | 2027 4 Fri | | 2028 12 Sat-Sun | | 2029 0 Mon | | 2030 1 Tue | +---------------------+ [HOME] [datelab]