Article View: comp.lang.basic.misc
Article #98Re: What's the day of the week?
From: leon garde
Date: Mon, 26 Feb 1996 00:00
Date: Mon, 26 Feb 1996 00:00
57 lines
3282 bytes
3282 bytes
In <DnA5v0.1tJ@planet.mh.dpi.qld.gov.au> staplei@planet.mh.dpi.qld.gov.au (Ian Staples) writes: >From time to time one sees questions about programs to turn dates >into days elapsed, days of the week, etc. For those who are >inclined to develop a "generic" program to do this sort of thing >over a long period of time, here are a few complications to >consider (Ref: The New Encyclopaedia Britannica 15th Edition 1983): >In the 16th Century, Pope Gregory XIII introduced the so-called >Gregorian calendar to replace the earlier Julian calendar. The >purpose was to recalibrate to calendar year with the celestial >year so that the vernal equinox would once again fall on 21 March >as it had at the time of the Council of Nicaea in AD 325. The >major effect was the "loss" of 11 days in October 1582 -- it was >proclaimed that the day following 4 Oct 1582 would be 15 Oct 1582. >And, apart from some rioting in the streets and similar statements >of concern by the great unwashed at the "loss" of 11 days from >their lives, this change was put into effect. >Unfortunately, the wider world didn't immediately fall into line >with this papist decree. In fact, some delayed their response by well, perhaps, that would be better said 'unfortunately, the wider world did cave in to this papal decree, after a 4 century battle to not give up 11 days.'. it was difficult one off thing to take. in hindsight, science says that dropping the 11 days was futile as the vernal equinox will still change one day every 75 years, taking 25800 years to get back to march 21 . this stems from the fact that our years are determined by our position on earth's orbit and not on the seasons and the equinoxes. seasons and equinoxes are caused by the tilt of the earth. if years were determined by seasons and equinoxes, then the calculating orbits of the earth and that becomes much more complicated. and if people want to get more accurate and try to translate the time of day too , there are other problems, considering changing time zones and daylight savings and all. eg. until a few ago, the soviet union operating in a time zone all of its own. the soviet union standardised its date and time in 1918, except it had all of the lands operating in the standard time zone for Moscow. but late one summer , stalin forgot to decree the end to daylight savings.... (this was during world war II, so maybe there was a reason to the madness ? ) Moscow now runs in the timezone that its longitude suggests. Those pre programmed 'multi-time watches' popular in the worst of the digital watch era now get Moscow wrong.. leon
Technical Details
Message-ID:
<4gsa79$1hs@brushtail.hna.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<DnA5v0.1tJ@planet.mh.dpi.qld.gov.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d683,e275cf064401e55b X-Google-Attributes: gid10d683,public X-Google-Thread: 10c949,e275cf064401e55b X-Google-Attributes: gid10c949,public From: lgarde@brushtail.hna.com.au (leon garde) Subject: Re: What's the day of the week? Date: 1996/02/26 Message-ID: <4gsa79$1hs@brushtail.hna.com.au> X-Deja-AN: 141206213 distribution: aus references: <DnA5v0.1tJ@planet.mh.dpi.qld.gov.au> organization: Hunter Network Association, Australia keywords: date,day,gregorian,calendar newsgroups: comp.lang.basic.misc,aus.computers.ibm-pc