Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: KB208339, kbprb

↑ Back to the top

Article Info
Article ID : 208339
Revision : 3
Created on : 6/30/2006
Published on : 6/30/2006
Exists online : False
Views : 232