From owner-freebsd-questions Mon Oct 27 16:54:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA10957 for questions-outgoing; Mon, 27 Oct 1997 16:54:47 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA10797 for ; Mon, 27 Oct 1997 16:51:29 -0800 (PST) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.7/8.8.5) with ESMTP id AAA16317; Tue, 28 Oct 1997 00:44:01 GMT Message-Id: <199710280044.AAA16317@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Stephen Roome cc: freebsd-questions@FreeBSD.ORG Subject: Re: 2000 Compliance / dates / time libs In-reply-to: Your message of "Tue, 29 Feb 2000 00:13:57 GMT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Oct 1997 00:44:01 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > I just set my clock to february 29 2000. Is this valid ? The rule is: if (year%400) leap year else if (year%100) no leap year else if (year%4) leap year else no leap year The whole mess only works up 'till the year 23XX AFAIR, then we have to skip a big chunk of time - and the UK will probably refuse again :-O $ cal 9 1752 for a laugh, then read ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/usr.bin/cal/README -- Brian , , Don't _EVER_ lose your sense of humour....