Path: utzoo!attcan!uunet!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!shodha.dec.com!devine From: devine@shodha.dec.com (Bob Devine) Newsgroups: comp.databases Subject: Re: Calendar Algorithm Message-ID: <1547@shodha.dec.com> Date: 13 Aug 90 17:32:23 GMT References: <3091.26c69b52@cc.curtin.edu.au> Organization: Digital Equipment Corp. - Colorado Springs, CO. Lines: 12 In article <3091.26c69b52@cc.curtin.edu.au>, Wright_RJ@cc.curtin.edu.au (Robert Wright) writes: > Excuse the ancient, shouted, UPPERCASE Fortran, but this still works to the > best of my knowledge. This is really a very flexible algorithm. > > C In the United States daylight saving time begins at 2:00 AM > C the last Sunday of April and extends to 2:00 AM the last > C Sunday of October. Be very careful with hardcoding DST rules; the rules change unexpectantly The current start of DST is the _first_ Sunday in April. Bob Devine / DEC DB Engineering