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

Article translations Article translations
Article ID: 218877 - View products that this article applies to.
This article was previously published under Q218877
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

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:
http://support.microsoft.com/contactus/?ws=support
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.

Properties

Article ID: 218877 - Last Review: November 2, 2013 - Revision: 3.0
Applies to
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix KB218877

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com