XL2000: Four-Digit Years May Display Only Two Digits
ID: Q237342
|
The information in this article applies to:
SYMPTOMS
When you open a Microsoft Excel workbook, cells that you had previously formatted to display four-digit years may now display two-digit years. This behavior occurs even if you had previously used the Date Fix Wizard to change all date formats in your workbook to display four-digit years.
CAUSE
This behavior occurs when either of the following conditions is true:
- The Short date style setting on the Date tab (under Regional Settings in Control Panel) has changed.
-or-
- Another user who has a different Short date style setting has saved changes to the workbook.
When you edit a workbook on a different computer with a different Short date style setting, Excel may change the format that it uses to display date values. This allows Excel to seamlessly convert date formats when you share your workbooks with people who are using different regional settings. This behavior is by design of Microsoft Excel.
WORKAROUND
To prevent this behavior from impacting the use of your workbooks, everyone who opens your workbook must have the same Short date style setting under Regional Settings in Control Panel.
MORE INFORMATION
The following steps illustrate how to reproduce this behavior.
NOTE: These steps assume that the current Short date style setting on your computer is M/d/yy.
- Save and close any open workbooks and then open a new workbook.
- Type the following date into cell A1:
9/7/1999
By default, the date is displayed as 9/7/99.
- Select cell A1 and then click Cells on the Format menu. In the Category list, click Date. In the Type list, click 3/14/1998 and then click OK.
The date in cell A1 is now displayed as 9/7/1999.
- Save, and then close the file.
- Click Start, point to Settings, and then click Control Panel.
- Double-click the Regional Settings icon.
- On the Date tab, click M/d/yyyy in the Short date style list and then click OK.
- Switch to Excel. Open the file that you saved in step 4.
The date in cell A1 is still displayed as 9/7/1999.
- Save, and then close the file.
- Click Start, point to Settings, and then click Control Panel.
- Double-click the Regional Settings icon.
- On the Date tab, click M/d/yy in the Short date style list and then click OK.
The Short date style setting is now back to its default value.
- Switch to Excel.
- Open the file that you last saved in step 9.
The date in cell A1 is now displayed as 9/7/99.
REFERENCES
For additional information about the Date Fix Wizard, please click the article number below to view the article in the Microsoft Knowledge Base:
Q176943
XL: Year 2000 Wizards for Microsoft Excel 97 and 2000 Available for Download
Additional query words:
XL2000 y2k
Keywords : kbdta kb2000 xlformat xlwiz
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb