Microsoft KB Archive/247324

From BetaArchive Wiki

Article ID: 247324

Article Last Modified on 1/25/2007


  • Microsoft Outlook 97 Standard Edition

This article was previously published under Q247324


When you attempt to print a calendar, the year printed is in the wrong century.


Your Windows regional date style is set to display a two-digit year. This causes Outlook to ignore four-digit years and attempt to compute the correct century. The date you entered for printing falls outside the date range that Outlook uses in this computation.


Set your Windows regional date style to display dates with four-digit years.


Outlook uses a date-range of -29/+70 (current year minus 29 years, through current year plus 70 years), to determine the correct century for a two-digit year. In 1999, this translates to a range of 1970-2069. To evaluate a two-digit year, Outlook adds 1900 to the year and if the result falls within this date range, the year is assumed to be in the twentieth century (1900s). If the year is outside of this date range, the year is assumed to be in the twenty-first century (2000s).

For example:

  • If a two-digit year of 65 is entered, Outlook adds 1900, giving 1965. This falls outside the range of 1970-2069, so the year is assumed to be 2065.
  • If a two-digit year of 75 is entered, Outlook adds 1900, giving 1975. This falls within the range of 1970-2069, so the year is assumed to be 1975.

Steps to Reproduce the Problem

  1. Click Start, point to Settings, and click Control Panel.
  2. In Control Panel, double-click the Regional Settings icon.
  3. On the Date tab, select a Short date style that uses a two-digit year, such as M/d/yy if on a U.S. platform, and click OK.
  4. In the Calendar folder, on the File menu, click Print.
  5. In the Start box, type 1/1/1965, in the End box, type 1/1/1965, and click Preview.

The calendar displays a date of January 1, 2065. The calculation is, 1900+65=1965, which falls outside of the 1970-2069 range.

NOTE: Even though you entered a four-digit year, only two digits were used in the calculation because of the two-digit year style setting.

Keywords: kbprb KB247324