From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_50,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7be1,be6b7e036aa9236c X-Google-Attributes: gidf7be1,public X-Google-Thread: 11390f,be6b7e036aa9236c X-Google-Attributes: gid11390f,public X-Google-Thread: 101deb,be6b7e036aa9236c X-Google-Attributes: gid101deb,public X-Google-Thread: 1014db,be6b7e036aa9236c X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,be6b7e036aa9236c X-Google-Attributes: gid103376,public X-Google-Thread: 1094ba,be6b7e036aa9236c X-Google-Attributes: gid1094ba,public X-Google-Thread: fa0ae,be6b7e036aa9236c X-Google-Attributes: gidfa0ae,public X-Google-Thread: 1164ba,be6b7e036aa9236c X-Google-Attributes: gid1164ba,public From: Matthew.Healy@yale.edu (Matthew D. Healy) Subject: Re: Friday 13th, try it yourself (was Language Wars..) Date: 1996/09/23 Message-ID: #1/1 X-Deja-AN: 184776733 distribution: inet references: <51bv60$8d@pheidippides.axion.bt.co.uk> <32406D89.233E@watson.ibm.com> <3242D1EB.3F54@ford.com> organization: Yale Center For Medical Informatics newsgroups: comp.lang.ada,comp.lang.apl,comp.lang.basic,comp.lang.c,comp.lang.fortran,comp.lang.perl.misc,comp.lang.pl1,comp.lang.rexx,comp.lang.pascal.misc,comp.lang.smalltalk Date: 1996-09-23T00:00:00+00:00 List-Id: In article <3242D1EB.3F54@ford.com>, Clinton Pierce wrote: > > See for yourself if the "Friday the 13th" thing is just a UL. If you trust > UNIX's 'cal' program, and that it does the Right Thing with Leap Years, the > Gregorian/Julian switch etc..etc... This Perl script will show you the Truth: > But this will be modulo your country, because different countries did the Julian/Gregorian change in different years, ranging from the sixteenth to the twentieth* centuries. Most flavors of Unix cal do it when the British and their colonies did. Dunno whether customers in, say, Sweden can get one where cal works for their country. PS: About six months ago when I entered a thread on different dates of Julian/Gregorian switching in another newsgroup, I got email from an astronomer somewhere in Europe who told me his country (forget which one) did a _really_ strange number on this: instead of stepping in a single year, they had half a century with no leap years until they were in sync with the Gregorian calendar! Stick _that_ in cal's pipe and smoke it! *Yes, twentieth. Until the last Tsar fell, Russia was still on the Julian calendar. That's why the "October revolution" took place in November. --------- Matthew.Healy@yale.edu http://paella.med.yale.edu/~healy "Any content-based regulation of the Internet could burn down the global village to roast the pig." -- Judge Dalzell, on the CDA