Year zero
Historians have never included a year zero. This means that between, for example, and , there are 999 years: 500 years BC, and 499 years AD preceding 500. In common usage "anno Domini" 1 is preceded by the year 1 BC, without an intervening year zero. Neither the choice of calendar system (whether Julian or Gregorian) nor the era ("Anno Domini" or Common Era) determines whether a year zero will be used. If writers do not use the convention of their group (historians or astronomers), they must explicitly state whether they include a year 0 in their count of years, otherwise their historical dates will be misunderstood.
Year zero
In astronomy, for the year AD 1 and later it is common to assign the same numbers as the Anno Domini notation, which in turn is numerically equivalent to the Common Era notation. But the discontinuity between 1 AD and 1 BC makes it cumbersome to compare ancient and modern dates. So the year before 1 AD is designated 0, the year before 0 is −1, and so on.