It it now a leap year?

Steve Searle steve at stevesearle.com
Thu Aug 9 18:00:42 UTC 2007


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

Steve

-- 
 
 Play Champions - my free football predictions game at:
 	http://www.stevesearle.com/champs/about.html

 18:57:17 up 4 days,  7:21,  1 user,  load average: 0.02, 0.03, 0.06
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070809/bd486eb8/attachment-0001.sig>


More information about the fedora-list mailing list