- The simplest judgment method is as follows:
The year on the last day of January 29, February is a leap year.
- Complex precise calculation methods:
- A leap year is a normal year that can be divisible by four and cannot be divisible by 100. (For example, 2004 is a leap year, and 1901 is not a leap year)
- The year of the century can be divisible by 400 is a leap year. (For example, 2000 is a leap year, and 1900 is not a leap year)
- For a year with a large value, if the year can be divided into 3200 and 172800, It is a leap year. For example, 172800 years is a leap year, And 86400 years is not a leap year (because although it can be divided into 3200, it cannot be divided into 172800) (this is calculated based on the 365 days of a year, 5h48 '45. 5 ).
(Year % 4 = 0) and (Year % 100! = 0) or year % 400 = 0
The general rule for determining a leap year in the Gregorian calendar is as follows: four years, one hour, one hundred years without renewal, and one second in four hundred years.
How to determine whether it is a leap year