.. | ||
public | ||
src | ||
config-overrides.js | ||
demo.png | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.paths.json |
Gregorian Calendar
What is this?
This is an implementation of the Gregorian calendar, which is the default civil calendar in most countries. It is meant to help you cross-reference dates by providing the conversions various other calendars and time-keeping systems, such as:
- the Julian day number (JDN);
- the Julian calendar date;
- the Mesoamerican Long Count calendar date; and
- the French Republican calendar date.
You can see it live here! More conversions will be added in the future.
The Gregorian calendar
The Gregorian calendar itself is based on the Julian calendar, originally introduced in 46 BC by Julius Caesar (with aid of Sosigenes of Alexandria). Unfortunately, the Julian calendar had leap days every four years without question, resulting in the average year having 365.25 days. However, the actual tropical year is roughly 365.2422 days, resulting in it gaining a day every 129 years. This means that seasons drift, starting earlier and earlier in the year.
In 1582, Pope Gregory XIII decided to fix this drift by reducing the number of leap days, motivated by a desire to keep the March equinox on March 21st, since that value was hardcoded in the calculation for the date of Easter. To achieve this, he made years divisible by 100 but not by 400 non-leap years, resulting in 97 leap years every 400 years. To bring the equinox back into alignment, October 5th to October 14th in 1582 were deleted, creating the Gregorian calendar we use today.
This website extends the Gregorian calendar indefinitely into the past for reference reasons.