Re: It it now a leap year?
- From: "Kevin J. Cummings" <cummings@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 09 Aug 2007 15:02:12 -0400
Steve Searle wrote:
Around 01:57am on Thursday, August 09, 2007 (UK time), Karl Larsen scrawled:
glad you like it. The cal program is VERY powerful.
Cal is indeed excellent, even showing that the rules defined for leap
years earlier in this thread are not correct. If it was as simple as
divisible by 100 but not divisible by 400 = not leap year then:
cal 2 1500
should not show February having 29 days, which it does.
To get a clue as to why this is correct, try
cal 9 1752
Which calendar are you expecting for these dates? Julian or Gregorian?
Didn't Pope Gregory fixed the calendar (thus it bears his name), but it
wasn't used consistently worldwide until some time in the 18th century.
There is even some question as to whether George Washington's Feb 22
birth date was a Julian date or Gregorian date and he was clearly born
in the 1700's. It looks like "cal" switches from Julian dates to
Gregorian dates after 9/2/1752. From the cal man page:
The Gregorian Reformation is assumed to have occurred in 1752 on the 3rd of September. By this time, most countries had recognized the
reformation (although a few did not recognize it until the early 1900’s.) Ten days following that date were eliminated by the reforma-
tion, so the calendar for that month is a bit unusual.
--
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: It it now a leap year?
- From: Matthew J. Roth
- Re: It it now a leap year?
- References:
- Re: It it now a leap year?
- From: Antonio Olivares
- Re: It it now a leap year?
- From: Karl Larsen
- Re: It it now a leap year?
- From: Steve Searle
- Re: It it now a leap year?
- Prev by Date: RE: how to identify 32 vs 64 bit CPU?
- Next by Date: Re: F8T1 Issues
- Previous by thread: Re: It it now a leap year?
- Next by thread: Re: It it now a leap year?
- Index(es):
Relevant Pages
|