FIX: BUG: DateFormate.Parse Function Misinterprets Dates for Year 2000 (222955)



The information in this article applies to:

  • Microsoft Internet Explorer 4.01 for Windows NT 4.0 SP 1
  • Microsoft Internet Explorer 4.01 for Windows 95 SP 1
  • Microsoft virtual machine

This article was previously published under Q222955

SYMPTOMS

The DateFormat.parse() function doesn't interpret dates in year 2000 as expected.

When running an application that accepts dates as user input, you may see the following results:
  • 1/1/2000 is interpreted as year 3900
  • 1/1/100 is interpreted as year 2000
  • 1/1/00 is interpreted as year 2000

Here are the expected results:
  • 1/1/2000 should be year 2000
  • 1/1/100 should be year 100 A.D.
  • 1/1/00 should be year 2000

RESOLUTION

To resolve this problem immediately, download and install the latest version of the Microsoft virtual machine (Microsoft VM). You can find this file at http://www.microsoft.com/mscorp/java.


Date        Version       Size       File name     Platform
-----------------------------------------------------------
02/18/99    5.00.3167.1   6,617,832  Msjavx86.exe  (x86)

				

STATUS

Microsoft has confirmed this to be a problem in Microsoft Internet Explorer 4.01 Service Pack 1 and all versions of the Microsoft VM prior to build 2752.

Modification Type:MinorLast Reviewed:11/14/2005
Keywords:kbbug kbFAQ kbfix kbQFE KB222955