FIX: The DateTimePicker control displays an incorrect date string when the down arrow key is used to change the month (839574)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.1

SYMPTOMS

When the user changes the month that is currently selected by using the down arrow key on the DateTimePicker control, an incorrect date string is displayed. For example, this behavior may occur if the user presses the down arrow key to change the month from 02 to 01 (from February to January).

CAUSE

This problem occurs because the control does not correctly calculate the month that is to be displayed. Instead of using numbers between 1 and 12, the control uses a number such as 13.

RESOLUTION

Hotfix information

A supported software update is now available from Microsoft as Windows CE 4.10 Core OS QFE 839574. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

This fix is supported only when all previously issued fixes for this product have also been installed.

Restart requirement

After you install this hotfix, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this package has the file attributes (or later) that are listed in the following table.
   Date         Time   Version            Size    File name
   ---------------------------------------------------------------------------------------

   Path: Signed
   03-Apr-2004  00:36  4.1.4.402       2,067,192  Wincepb41-040402-kb839574-armv4.exe  
   03-Apr-2004  00:36  4.1.4.402       2,067,192  Wincepb41-040402-kb839574-armv4i.exe  
   03-Apr-2004  00:36  4.1.4.402       2,075,384  Wincepb41-040402-kb839574-armv4t.exe  
   03-Apr-2004  00:36  4.1.4.402       1,911,544  Wincepb41-040402-kb839574-mips16.exe  
   03-Apr-2004  00:36  4.1.4.402       2,112,248  Wincepb41-040402-kb839574-mipsii.exe  
   03-Apr-2004  00:36  4.1.4.402       2,112,248  Wincepb41-040402-kb839574-mipsii_fp.exe  
   03-Apr-2004  00:36  4.1.4.402       2,136,824  Wincepb41-040402-kb839574-mipsiv.exe  
   03-Apr-2004  00:36  4.1.4.402       2,136,824  Wincepb41-040402-kb839574-mipsiv_fp.exe  
   03-Apr-2004  00:36  4.1.4.402       2,013,944  Wincepb41-040402-kb839574-sh3.exe  
   03-Apr-2004  00:36  4.1.4.402       2,009,848  Wincepb41-040402-kb839574-sh4.exe  
   03-Apr-2004  00:36  4.1.4.402       1,805,048  Wincepb41-040402-kb839574-x86.exe  
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time                      Size    File name
   --------------------------------------------------------------

   Path: Public\Common\Oak\Lib\Armv4\Debug
   31-Mar-2004  17:43                  2,520,010  Commctrl.lib
   31-Mar-2004  17:43                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Armv4\Retail
   31-Mar-2004  17:42                  1,764,842  Commctrl.lib
   31-Mar-2004  17:42                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Armv4i\Debug
   31-Mar-2004  17:41                  2,524,114  Commctrl.lib
   31-Mar-2004  17:41                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   31-Mar-2004  17:41                  1,768,952  Commctrl.lib
   31-Mar-2004  17:41                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Armv4t\Debug
   31-Mar-2004  17:40                  2,356,682  Commctrl.lib
   31-Mar-2004  17:40                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Armv4t\Retail
   31-Mar-2004  17:40                  1,756,260  Commctrl.lib
   31-Mar-2004  17:40                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mips16\Debug
   31-Mar-2004  17:45                  2,173,976  Commctrl.lib
   31-Mar-2004  17:45                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mips16\Retail
   31-Mar-2004  17:45                  1,450,580  Commctrl.lib
   31-Mar-2004  17:45                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   31-Mar-2004  17:44                  2,470,808  Commctrl.lib
   31-Mar-2004  17:44                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   31-Mar-2004  17:43                  1,808,932  Commctrl.lib
   31-Mar-2004  17:43                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   31-Mar-2004  17:46                  2,471,174  Commctrl.lib
   31-Mar-2004  17:46                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   31-Mar-2004  17:46                  1,809,300  Commctrl.lib
   31-Mar-2004  17:46                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   31-Mar-2004  17:51                  2,502,510  Commctrl.lib
   31-Mar-2004  17:51                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   31-Mar-2004  17:51                  1,822,490  Commctrl.lib
   31-Mar-2004  17:51                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   31-Mar-2004  17:49                  2,502,876  Commctrl.lib
   31-Mar-2004  17:49                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   31-Mar-2004  17:48                  1,822,852  Commctrl.lib
   31-Mar-2004  17:48                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Sh3\Debug
   31-Mar-2004  17:48                  2,211,720  Commctrl.lib
   31-Mar-2004  17:48                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Sh3\Retail
   31-Mar-2004  17:47                  1,612,288  Commctrl.lib
   31-Mar-2004  17:47                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Sh4\Debug
   31-Mar-2004  17:50                  2,211,720  Commctrl.lib
   31-Mar-2004  17:50                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\Sh4\Retail
   31-Mar-2004  17:50                  1,608,448  Commctrl.lib
   31-Mar-2004  17:50                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\X86\Debug
   31-Mar-2004  17:39                  2,000,768  Commctrl.lib
   31-Mar-2004  17:39                    135,168  Commctrl.pdb

   Path: Public\Common\Oak\Lib\X86\Retail
   31-Mar-2004  17:38                  1,455,830  Commctrl.lib
   31-Mar-2004  17:38                    135,168  Commctrl.pdb

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The DateTimePicker control is used by the CDateTimeCtrl control in a Microsoft Foundation Classes class.

For more information about the DateTimePicker class, visit the following MSDN Web site: For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:5/27/2005
Keywords:kbBug kbfix kbQFE KB839574 kbAudDeveloper kbAudOEM