Year zero
Year zero does not exist in the anno Domini system usually used to number years in the Gregorian calendar and in its predecessor, the Julian calendar. In this system, the year is followed by . However, there is a year zero in astronomical year numbering (where it coincides with the Julian year ) and in ISO 8601:2004 (where it coincides with the Gregorian year ) as well as in all Buddhist and Hindu calendars.
Year 2000 problem
Normally, a year is a leap year if it is evenly divisible by four. A year divisible by 100, however, is not a leap year in the Gregorian calendar unless it is also divisible by 400. For example, 1600 was a leap year, but 1700, 1800 and 1900 were not. Some programs may have relied on the oversimplified rule that "a year divisible by four is a leap year". This method works fine for the year 2000 (because it is a leap year), and will not become a problem until 2100, when older legacy programs will likely have long since been replaced. Other programs contained incorrect leap year logic, assuming for instance that no year divisible by 100 could be a leap year. An assessment of this "leap year problem" including a number of real life code fragments appeared in 1998. For information on why century years are treated differently, see Gregorian calendar.