Help and Support
 

powered byLive Search

Converting 2-Digit Dates to 4-Digit Dates Using International Calendars

Article ID:234559
Last Review:February 22, 2007
Revision:1.3
This article was previously published under Q234559

SYMPTOMS

When you are using an international (localized) version of Windows 98 in which you can choose between localized and non-localized Gregorian system calendars (by using the Regional Settings tool in Control Panel), you can configure the Century dialog box individually for each Gregorian calendar. In this case, programs that use Microsoft Visual Basic to convert a 2-digit date to a 4-digit date use the Century dialog box settings for the default calendar, not the current calendar. For example, this behavior occurs with Microsoft Access. This behavior does not occur in English versions of Windows 98.

Back to the top

CAUSE

This problem occurs if the program uses OLE to convert a 2-digit date to a 4-digit date. OLE looks up the English Gregorian calendar settings instead of your current calendar settings. Note that this is not a year 2000 issue.

Back to the top

RESOLUTION

If you change the Century dialog box setting in the Regional Settings tool in Control Panel for one Gregorian calendar, change all other Gregorian calendars to the same Century dialog box settings. For example, if you change one calendar's Century settings from "1930-2029" to "1936-2035," change all other Gregorian calendars' Century settings to the same date range.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in Windows 98.

Back to the top

MORE INFORMATION

This is not a problem in Microsoft Windows NT 4.0. However, Windows NT 4.0 Service Pack 5 (SP5) includes a newer version of the Oleaut32.dll file that corrects this problem in Windows 98. For additional information about the latest service pack for Windows NT, click the article number below to view the article in the Microsoft Knowledge Base:
152734 (http://support.microsoft.com/kb/152734/EN-US/) How to Obtain the Latest Windows NT 4.0 Service Pack

Back to the top


APPLIES TO
Microsoft Windows 98 Standard Edition

Back to the top

Keywords: 
kbenv kbprb KB234559

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.