Date: Mon, 27 Oct 1997 08:29:38 -0800 (PST) From: "Jonathan M. Bresler" <jmb> To: steve@visint.co.uk (Stephen Roome) Cc: freebsd-questions@freebsd.org Subject: Re: 2000 Compliance / dates / time libs Message-ID: <199710271629.IAA00243@hub.freebsd.org> In-Reply-To: <Pine.BSF.3.95.1000229000941.14077A-100000@dylan.visint.co.uk> from "Stephen Roome" at Feb 29, 0 00:13:57 am
next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Roome wrote: > > > I just set my clock to february 29 2000. Is this valid ? the algorithm, as i understand it is: if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) it is a leap year. this is only good back till the switch from julian to gregorian calendars. jmb
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710271629.IAA00243>