Article ID: 155669 - Last Review: January 19, 2007 - Revision: 3.1

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

This article was previously published under Q155669
Novice: Requires knowledge of the user interface on single-user computers.

Expand all | Collapse all

SYMPTOMS

When you type a date in the format M/D/YY where YY is a number from 00 through 29, Microsoft Access defaults to the years 2000 through 2029.

CAUSE

If you are using Microsoft Windows 95 or Microsoft Windows NT version 4.0, Access uses Oleaut32.dll to determine what century to use for dates when you do not specify all four digits. If you are using Microsoft Windows 98 and you do not specify all four digits, Access determines what century to use based on the "When a two digit year is entered, interpret as a year between" box setting in the Regional Settings tool in Control Panel.

RESOLUTION

When you enter a date, type all four digits of the year. This will ensure that the date will always be calculated the same way, no matter which version of Oleaut32.dll you have, or what the date range is set to in Regional Settings in Control Panel.

MORE INFORMATION

Both Microsoft Access 7.0 and 97 use Oleaut32.dll to determine what century to use for dates when you do not specify all four digits. If the file is the version supplied with Microsoft Internet Explorer version 3.0 or Microsoft Windows NT version 4.0, the date can be calculated incorrectly.

If you are having the problem mentioned in this article, you may be using one of the following versions of the file Oleaut32.dll:
   File/Version              Operating System                      Size
   ----------------------------------------------------------------------
   Oleaut32.dll v2.1         Windows 95 / Windows NT 3.51          227 KB
   Oleaut32.dll v2.20.4049   Windows Explorer 3.0 / Windows NT 4.0 462 KB
				

APPLIES TO
  • Microsoft Access 95 Standard Edition
  • Microsoft Access 97 Standard Edition
Keywords: 
kbprb KB155669
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations