Microsoft KB Archive/218877

= Mfc40.dll may Cause Programs to Display Wrong Date After 01/01/2000 =

Article ID: 218877

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q218877



SYMPTOMS
An internal function within Mfc40.dll is designed to add 1900 to every 2-digit date that is passed to it. For example, 99 is returned as 1999. If more than 2 digits are passed, nothing is added. Programs that use this function may incorrectly parse a date after the year 2000 (for example, January 1, 2000, may become January 1, 100).

This problem has been observed with the following applications:


 * Microsoft System Information (Msinfo32.exe)

Steps to Reproduce the Problem

 * 1) Set the system date to a date after the year 2000.
 * 2) Double-click Region in Control Panel, and click MM/dd/yy in the Short date style(S) box on the Date tab.
 * 3) Start Msinfo32.exe (version: 4.10.1998) of Windows 98. (Msinfo32.exe is located in the Program Files\Common Files\Microsoft Shared\MSINFO folder.)
 * 4) On the File menu, click Save, specify a file name, and then click Save.
 * 5) Start Windows Explorer, right-click the file created in step 4, and click Properties.
 * 6) "mm/dd/100" appears in the Comment box on the Summary tab.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:


 * http://www.microsoft.com/windows/servicepacks/ -or-


 * 152734 How to Obtain the Latest Windows NT 4.0 Service Pack

For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

http://support.microsoft.com/directory/overview.asp

If you are running Windows NT 4.0 Service Pack 3 or 4:

Instead of installing the latest service pack, you can find this software update at the following Internet location as Y2kupd.exe (x86) and Y2kupdax.exe (Alpha):

ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/nt40/hotfixes-postsp4/y2k/y2kupd/

To determine if a localized version of this software update is available, change "USA" in the URL above to the appropriate localized abbreviation. Click here for a list of these abbreviations.



STATUS
Microsoft has confirmed that this is a problem in Windows NT version 4.0. This problem was first corrected in Windows NT 4.0 Service Pack 5.

Additional query words: 98 sysinfo 4.00 mfcinst.exe

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe KB218877

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.