Mfc40.dll may Cause Programs to Display Wrong Date After 01/01/2000 (218877)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0

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:
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: 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):

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.

Modification Type:MinorLast Reviewed:9/23/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbQFE KB218877