Path: csiph.com!aioe.org!news.mb-net.net!open-news-network.org!.POSTED.38.237.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Measuring time (was: Random numbers) Date: Thu, 26 Oct 2017 19:04:59 +0200 Organization: PointedEars Software (PES) Lines: 30 Message-ID: <4045820.LvFx2qVVIh@PointedEars.de> References: <2345791.k3LOHGUjKi@PointedEars.de> <2876676.AJdgDx1Vlc@PointedEars.de> <8f442f26-987b-4482-bf5f-775856a0a3b8@googlegroups.com> <5883795.4vTCxPXJkl@PointedEars.de> <7b7114cd-8e1a-49f3-b69f-9a23e95d280c@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="38.237.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch:178.197.237.38"; logging-data="10621"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.2 X-User-ID: U2FsdGVkX18j9abuSVM+G9RqD/yu59m84dqJy8+XsjY72vO+D6mXgQ== X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. On Tue, 24 Oct 2017 13:05:49 -0700 (PDT), Dr J R Stockton wrote: >> IIRC, new Date(Y, 0, N) fails for years 0 to 99; and MD is wrong for most >> of Year 0. > > I don't know about years 1 to 99, but there is no year 0. […] In the Proleptic Gregorian calendar as specified in ISO 8601 and implemented by implementations of ECMA-262-3 and later, year 0 is equivalent to 1 BCE: AFAICS, the result for Y === 0 is only wrong (not as specified) if N < 366 and one expects a date that is not in 1900 CE. This behavior of the Date constructor has historical reasons, but, as I showed, can be worked around. Unfortunately, although your address header fields have changed, they are still invalid, so I have augmented my killfile with their new values. Note that you are not only disregarding Netiquette, but also violating the Terms of Use of your service provider which “may result in immediate account revocation”. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.