Microsoft KB Archive/246389

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Article ID: 246389

Article Last Modified on 12/4/1999



APPLIES TO

  • Microsoft Outlook 98 Standard Edition



This article was previously published under Q246389

SYMPTOMS

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

CAUSE

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.

RESOLUTION

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

For additional information on how to configure the short date format, click the article number below to view the article in the Microsoft Knowledge Base:

241671 How to Configure the Short Date Format in Windows and Windows NT


MORE INFORMATION

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.

RESULT:
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.


Additional query words: 98 window

Keywords: kbprb KB246389