Prepare for your Next Interview
This is a discussion on Is year "2100" leap year? within the Brainteasers forums, part of the Brain Gym category; I say 2100 is not a leap year? can anybody give the reason....
|
|||
|
Re: Is year "2100" leap year?
Year numbers ending in 00 must also be evenly divisible by 400 in order to be decide for leap year
__________________
Brijesh Jain brijesh.tester@gmail.com http://softwaretestingexpertise.blogspot.com Last edited by jainbrijesh : 12-27-2007 at 07:28 AM. |
| The Following User Says Thank You to jainbrijesh For This Useful Post: | ||
|
|||
|
Re: Is year "2100" leap year?
Hey Brijesh, thanks for your explanation, according to gregorian calender the 2100 is not a leap year, but 2000, 1600, ... are leap years.
Last edited by Harry1981 : 12-27-2007 at 08:13 AM. |
|
|||
|
Re: Is year "2100" leap year?
Quote:
2000 and 1600 give remainder "0" on dividing by 400, so they are leap year. whereas 2100 not.
__________________
Brijesh Jain brijesh.tester@gmail.com http://softwaretestingexpertise.blogspot.com |
|
|||
|
Re: Is year "2100" leap year?
Hi Atanu,
The year 2100, 2200, 2300 were not leap years. See the below mentioned points regarding Leap Year. - The Gregorian calendar is designed to keep the vernal equinox on or close to March 21, so that the date of Easter (celebrated on the Sunday after the 14th day of the Moon that falls on or after 21 March) remains correct with respect to the vernal equinox. - The vernal equinox year is currently about 365.242375 days long. - The Gregorian leap year rule gives an average year length of 365.2425 days. This marginal difference of 0.000125 days means that in around 8,000 years, the calendar will be about one day behind where it should be. But in 8,000 years, the length of the vernal equinox year will have changed by an amount which can not be accurately predicted. Therefore, the current Gregorian calendar suffices for practical purposes. In case if you need to get more details you check this Link for details regarding Gregorian calendar. Last edited by sridharrganesan : 12-28-2007 at 03:53 AM. |
|
|||
|
Re: Is year "2100" leap year?
Hi guys sounds great,
Your solutions are too technical the simplest solutions is when u add the digits u get an odd number so it is not a leap year And also i am not saying that all the years that end with the even sum are leap year this is one of the simplest way to find whether a year is a leap year or not |
| The Following User Says Thank You to harveykumar For This Useful Post: | ||
|
|||
|
Re: Is year "2100" leap year?
Hi everybody
We get a leap year every 4 years. But over a span of 100 there will be an excess of 1day. So 1day is reduced, but this reduction of 1day in every 100 years makes a day less over a span of 400 years. So again a day is added to make it a leap year. As 2100 is not divisible by 400 it is not a leap year whereas 2000, 1600 are leap years. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Try this to Test for Leap Year | sreekumar_nair_it | Oracle | 2 | 12-12-2007 06:43 AM |
| systemutil.run "IEplore.exe","URL" is opening 2 browsers | Geek_Guest | QTP | 2 | 10-09-2007 05:01 AM |
| difference b/w "group by" and "order by" ? | jainbrijesh | SQL | 9 | 07-07-2007 01:40 AM |
| How to calculate Leap Year in Cognos? | Geek_Guest | Data Warehousing | 0 | 06-22-2007 10:16 AM |
| Business Objects - parsed failed "ORA-00936: missing expression :-936" | JobHelper | Data Warehousing | 0 | 02-11-2007 05:06 AM |