W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Dates BCE

From: Joshua Cranmer <Pidgeot18@verizon.net>
Date: Thu, 30 Jul 2009 18:19:06 -0400
Message-ID: <4A721C5A.2010507@verizon.net>
David Singer wrote:
> Against that, one has to realize that "the label of the day before X" 
> is well-defined for the day before the introduction of the Gregorian 
> calendar, and iteratively going back to year 1, year 0, year -1, and 
> so on.
In neither the Gregorian nor the Julian calendars is there a year 0, as 
used in conventional speech (formats designed for machine computation 
treat the issue a little differently).

Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
Received on Thursday, 30 July 2009 15:19:06 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC