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

ID: Q218877


The information in this article applies to:


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:

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 set "MM/dd/yy" in [Short date style(S)] box on 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 directory.)


  4. Select Save from File menu, specify a file name, and then click Save.


  5. Start Windows Explorer, right-click the file created in Step 4, and click Properties.


  6. "100/mm/dd" appears in Comment box on [Summary] tab of the property.



RESOLUTION

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

For information on obtaining the individual fix, 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://www.microsoft.com/support/supportnet/overview/overview.asp
This hotfix has been posted to 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/Y2KUPD/

NOTE: If this product was already installed on your computer when you purchased it from the Original Equipment Manufacturer (OEM) and you need this fix, please call the Pay Per Incident number listed on the above Web site. If you contact Microsoft to obtain this fix, and if it is determined that you only require the fix you requested, no fee will be charged. However, if you request additional technical support, and if your no-charge technical support period has expired, or if you are not eligible for standard no-charge technical support, you may be charged a non-refundable fee.

For more information about eligibility for no-charge technical support, see the following article in the Microsoft Knowledge Base:
Q154871 Determining If You Are Eligible for No-Charge Technical Support


STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0. This problem was first corrected in Windows NT 4.0 Service Pack 5.


MORE INFORMATION

For more information about how Microsoft products are affected by year 2000 (Y2K) issues, please see the following Microsoft World Wide Web site:

http://www.microsoft.com/year2000/

Additional query words: 98 sysinfo 4.00 mfcinst.exe


Keywords          : 
Version           : winnt:4.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: July 2, 1999