Article ID: 915405 - Last Review: December 5, 2008 - Revision: 1.0
FIX: The return time may be one hour ahead of the real value when you call the "localtime" function in Microsoft Visual C++ 2005
When you call the
localtime function in Microsoft Visual C++ 2005, the return time may be one hour ahead of the real value. This problem occurs when the
TZ environmental variable is set to JST-9.
Note This problem may occur from the first Sunday in April to the last Sunday in October.
This problem occurs because of the summer time feature in Microsoft Visual C++ 2005 Runtime Library. The
_tzset function does not set the
_daylight global variable and the
_dstbias global variable.
Update information
The following files are available for download from the Microsoft Download Center:
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) Collapse this image Expand this image
Download the Microsoft Visual C++ 2005 Shttp://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&displaylang=en Redistributable Package (x86) package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&displaylang=en)
Microsoft Visual C++ 2005 SP1 Redistributable Package (x64) Collapse this image Expand this image
Download the Microsoft Visual C++ 2005 Shttp://www.microsoft.com/downloads/details.aspx?familyid=EB4EBE2D-33C0-4A47-9DD4-B9A6D7BD44DA&displaylang=en Redistributable Package (x64) package now.
(http://www.microsoft.com/downloads/details.aspx?familyid=EB4EBE2D-33C0-4A47-9DD4-B9A6D7BD44DA&displaylang=en)
Microsoft Visual C++ 2005 SP1 Redistributable Package (IA64) Collapse this image Expand this image
Download the Microsoft Visual C++ 2005 Shttp://www.microsoft.com/downloads/details.aspx?familyid=747AAD7C-5D6B-4432-8186-85DF93DD51A9&displaylang=en Redistributable Package (IA64) package now.
(http://www.microsoft.com/downloads/details.aspx?familyid=747AAD7C-5D6B-4432-8186-85DF93DD51A9&displaylang=en)
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591
(http://support.microsoft.com/kb/119591/
)
How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Prerequisites
There are no prerequisites.
Restart requirement
You do not have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
File information
The English version of this hotfix has the file attributes (or later file attributes) 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
item in Control Panel.
Collapse this table Expand this table
File name File version File size Date Time Platform Atl80.amd64.pdb Not applicable 2,510,848 05-Jun-2006 14:03 Not applicable Atl80.dll 8.0.50727.163 111,104 05-Jun-2006 14:03 x64 Atl80.dll 8.0.50727.163 276,992 05-Jun-2006 14:05 IA-64 Atl80.dll 8.0.50727.163 114,688 05-Jun-2006 14:15 x86 Atl80.dll 8.0.50727.163 96,256 05-Jun-2006 14:15 x86 Atl80.i386.pdb Not applicable 2,715,648 05-Jun-2006 14:15 Not applicable Atl80.ia64.pdb Not applicable 2,772,992 05-Jun-2006 14:05 Not applicable Mfc80.amd64.pdb Not applicable 10,440,704 05-Jun-2006 14:33 Not applicable Mfc80.dll 8.0.50727.163 1,605,120 05-Jun-2006 14:33 x64 Mfc80.dll 8.0.50727.163 3,477,504 05-Jun-2006 14:39 IA-64 Mfc80.dll 8.0.50727.163 1,093,632 05-Jun-2006 15:47 x86 Mfc80.i386.pdb Not applicable 10,301,440 05-Jun-2006 15:25 Not applicable Mfc80.ia64.pdb Not applicable 12,890,112 05-Jun-2006 14:39 Not applicable Mfc80chs.dll 8.0.50727.163 40,960 05-Jun-2006 14:38 x86 Mfc80chs.dll 8.0.50727.163 40,960 05-Jun-2006 14:42 x86 Mfc80chs.dll 8.0.50727.163 40,960 05-Jun-2006 15:28 x86 Mfc80cht.dll 8.0.50727.163 45,056 05-Jun-2006 14:38 x86 Mfc80cht.dll 8.0.50727.163 45,056 05-Jun-2006 14:42 x86 Mfc80cht.dll 8.0.50727.163 45,056 05-Jun-2006 15:28 x86 Mfc80d.amd64.pdb Not applicable 13,283,328 05-Jun-2006 14:32 Not applicable Mfc80d.dll 8.0.50727.163 3,129,856 05-Jun-2006 14:32 x64 Mfc80d.dll 8.0.50727.163 8,769,536 05-Jun-2006 14:38 IA-64 Mfc80d.dll 8.0.50727.163 2,375,680 05-Jun-2006 15:47 x86 Mfc80d.i386.pdb Not applicable 13,791,232 05-Jun-2006 15:23 Not applicable Mfc80d.ia64.pdb Not applicable 14,913,536 05-Jun-2006 14:38 Not applicable Mfc80deu.dll 8.0.50727.163 65,536 05-Jun-2006 14:38 x86 Mfc80deu.dll 8.0.50727.163 65,536 05-Jun-2006 14:42 x86 Mfc80deu.dll 8.0.50727.163 65,536 05-Jun-2006 15:28 x86 Mfc80enu.dll 8.0.50727.163 57,344 05-Jun-2006 14:38 x86 Mfc80enu.dll 8.0.50727.163 57,344 05-Jun-2006 14:42 x86 Mfc80enu.dll 8.0.50727.163 57,344 05-Jun-2006 15:28 x86 Mfc80esp.dll 8.0.50727.163 61,440 05-Jun-2006 14:38 x86 Mfc80esp.dll 8.0.50727.163 61,440 05-Jun-2006 14:42 x86 Mfc80esp.dll 8.0.50727.163 61,440 05-Jun-2006 15:28 x86 Mfc80fra.dll 8.0.50727.163 61,440 05-Jun-2006 14:38 x86 Mfc80fra.dll 8.0.50727.163 61,440 05-Jun-2006 14:42 x86 Mfc80fra.dll 8.0.50727.163 61,440 05-Jun-2006 15:28 x86 Mfc80ita.dll 8.0.50727.163 61,440 05-Jun-2006 14:38 x86 Mfc80ita.dll 8.0.50727.163 61,440 05-Jun-2006 14:42 x86 Mfc80ita.dll 8.0.50727.163 61,440 05-Jun-2006 15:28 x86 Mfc80jpn.dll 8.0.50727.163 49,152 05-Jun-2006 14:38 x86 Mfc80jpn.dll 8.0.50727.163 49,152 05-Jun-2006 14:42 x86 Mfc80jpn.dll 8.0.50727.163 49,152 05-Jun-2006 15:28 x86 Mfc80kor.dll 8.0.50727.163 49,152 05-Jun-2006 14:38 x86 Mfc80kor.dll 8.0.50727.163 49,152 05-Jun-2006 14:42 x86 Mfc80kor.dll 8.0.50727.163 49,152 05-Jun-2006 15:28 x86 Mfc80u.amd64.pdb Not applicable 10,424,320 05-Jun-2006 14:37 Not applicable Mfc80u.dll 8.0.50727.163 1,602,560 05-Jun-2006 14:37 x64 Mfc80u.dll 8.0.50727.163 3,465,216 05-Jun-2006 14:42 IA-64 Mfc80u.dll 8.0.50727.163 1,080,320 05-Jun-2006 15:47 x86 Mfc80u.i386.pdb Not applicable 10,301,440 05-Jun-2006 15:27 Not applicable Mfc80u.ia64.pdb Not applicable 12,881,920 05-Jun-2006 14:42 Not applicable Mfc80ud.amd64.pdb Not applicable 13,316,096 05-Jun-2006 14:36 Not applicable Mfc80ud.dll 8.0.50727.163 3,137,024 05-Jun-2006 14:36 x64 Mfc80ud.dll 8.0.50727.163 8,753,152 05-Jun-2006 14:40 IA-64 Mfc80ud.dll 8.0.50727.163 2,379,776 05-Jun-2006 15:47 x86 Mfc80ud.i386.pdb Not applicable 13,807,616 05-Jun-2006 15:27 Not applicable Mfc80ud.ia64.pdb Not applicable 14,929,920 05-Jun-2006 14:40 Not applicable Mfcm80.amd64.pdb Not applicable 3,100,672 05-Jun-2006 14:39 Not applicable Mfcm80.dll 8.0.50727.163 65,536 05-Jun-2006 14:39 x64 Mfcm80.dll 8.0.50727.163 118,784 05-Jun-2006 14:44 IA-64 Mfcm80.dll 8.0.50727.163 69,632 05-Jun-2006 15:47 x86 Mfcm80.i386.pdb Not applicable 3,198,976 05-Jun-2006 15:29 Not applicable Mfcm80.ia64.pdb Not applicable 3,182,592 05-Jun-2006 14:44 Not applicable Mfcm80d.amd64.pdb Not applicable 3,297,280 05-Jun-2006 14:38 Not applicable Mfcm80d.dll 8.0.50727.163 123,392 05-Jun-2006 14:38 x64 Mfcm80d.dll 8.0.50727.163 253,952 05-Jun-2006 14:43 IA-64 Mfcm80d.dll 8.0.50727.163 114,688 05-Jun-2006 15:47 x86 Mfcm80d.i386.pdb Not applicable 3,395,584 05-Jun-2006 15:29 Not applicable Mfcm80d.ia64.pdb Not applicable 3,379,200 05-Jun-2006 14:43 Not applicable Mfcm80u.amd64.pdb Not applicable 3,051,520 05-Jun-2006 14:39 Not applicable Mfcm80u.dll 8.0.50727.163 64,000 05-Jun-2006 14:39 x64 Mfcm80u.dll 8.0.50727.163 114,688 05-Jun-2006 14:44 IA-64 Mfcm80u.dll 8.0.50727.163 57,856 05-Jun-2006 15:47 x86 Mfcm80u.i386.pdb Not applicable 3,174,400 05-Jun-2006 15:30 Not applicable Mfcm80u.ia64.pdb Not applicable 3,141,632 05-Jun-2006 14:44 Not applicable Mfcm80ud.amd64.pdb Not applicable 3,354,624 05-Jun-2006 14:39 Not applicable Mfcm80ud.dll 8.0.50727.163 122,368 05-Jun-2006 14:39 x64 Mfcm80ud.dll 8.0.50727.163 253,952 05-Jun-2006 14:44 IA-64 Mfcm80ud.dll 8.0.50727.163 102,912 05-Jun-2006 15:47 x86 Mfcm80ud.i386.pdb Not applicable 3,461,120 05-Jun-2006 15:30 Not applicable Mfcm80ud.ia64.pdb Not applicable 3,444,736 05-Jun-2006 14:44 Not applicable Msdia80.dll 8.0.50727.163 621,568 05-Jun-2006 17:34 x86 Msdia80.dll 8.0.50727.163 621,568 05-Jun-2006 17:34 x86 Msdia80.dll 8.0.50727.163 2,084,864 05-Jun-2006 20:40 IA-64 Msdia80.dll 8.0.50727.163 896,000 05-Jun-2006 20:40 x64 Msvcm80.amd64.pdb Not applicable 2,108,416 05-Jun-2006 14:01 Not applicable Msvcm80.dll 8.0.50727.163 516,608 05-Jun-2006 14:01 x64 Msvcm80.dll 8.0.50727.163 572,416 05-Jun-2006 14:03 IA-64 Msvcm80.dll 8.0.50727.163 479,232 05-Jun-2006 14:14 x86 Msvcm80.i386.pdb Not applicable 2,157,568 05-Jun-2006 14:12 Not applicable Msvcm80.ia64.pdb Not applicable 2,305,024 05-Jun-2006 14:03 Not applicable Msvcm80d.amd64.pdb Not applicable 5,680,128 05-Jun-2006 14:01 Not applicable Msvcm80d.dll 8.0.50727.163 1,338,880 05-Jun-2006 14:01 x64 Msvcm80d.dll 8.0.50727.163 1,638,400 05-Jun-2006 14:03 IA-64 Msvcm80d.dll 8.0.50727.163 1,015,808 05-Jun-2006 14:14 x86 Msvcm80d.i386.pdb Not applicable 5,295,104 05-Jun-2006 14:12 Not applicable Msvcm80d.ia64.pdb Not applicable 6,294,528 05-Jun-2006 14:03 Not applicable Msvcp80.amd64.pdb Not applicable 3,918,848 05-Jun-2006 14:02 Not applicable Msvcp80.dll 8.0.50727.163 1,098,240 05-Jun-2006 14:02 x64 Msvcp80.dll 8.0.50727.163 1,388,032 05-Jun-2006 14:04 IA-64 Msvcp80.dll 8.0.50727.163 548,864 05-Jun-2006 14:14 x86 Msvcp80.i386.pdb Not applicable 3,197,952 05-Jun-2006 14:13 Not applicable Msvcp80.ia64.pdb Not applicable 4,328,448 05-Jun-2006 14:04 Not applicable Msvcp80d.amd64.pdb Not applicable 5,311,488 05-Jun-2006 14:01 Not applicable Msvcp80d.dll 8.0.50727.163 1,396,736 05-Jun-2006 14:01 x64 Msvcp80d.dll 8.0.50727.163 3,229,184 05-Jun-2006 14:03 IA-64 Msvcp80d.dll 8.0.50727.163 1,032,192 05-Jun-2006 14:14 x86 Msvcp80d.i386.pdb Not applicable 4,393,984 05-Jun-2006 14:13 Not applicable Msvcp80d.ia64.pdb Not applicable 6,310,912 05-Jun-2006 14:03 Not applicable Msvcr80.amd64.pdb Not applicable 3,304,448 05-Jun-2006 13:59 Not applicable Msvcr80.dll 8.0.50727.163 824,320 05-Jun-2006 13:59 x64 Msvcr80.dll 8.0.50727.163 1,485,824 05-Jun-2006 14:01 IA-64 Msvcr80.dll 8.0.50727.163 626,688 05-Jun-2006 14:14 x86 Msvcr80.i386.pdb Not applicable 3,271,680 05-Jun-2006 14:10 Not applicable Msvcr80.ia64.pdb Not applicable 3,820,544 05-Jun-2006 14:01 Not applicable Msvcr80d.amd64.pdb Not applicable 4,271,104 05-Jun-2006 13:59 Not applicable Msvcr80d.dll 8.0.50727.163 1,331,712 05-Jun-2006 13:59 x64 Msvcr80d.dll 8.0.50727.163 3,699,200 05-Jun-2006 14:01 IA-64 Msvcr80d.dll 8.0.50727.163 1,171,456 05-Jun-2006 14:14 x86 Msvcr80d.i386.pdb Not applicable 4,197,376 05-Jun-2006 14:10 Not applicable Msvcr80d.ia64.pdb Not applicable 4,410,368 05-Jun-2006 14:01 Not applicable Vcomp.amd64.pdb Not applicable 93,184 05-Jun-2006 14:55 Not applicable Vcomp.dll 8.0.50727.163 81,920 05-Jun-2006 14:55 x64 Vcomp.dll 8.0.50727.163 164,864 05-Jun-2006 15:04 IA-64 Vcomp.dll 8.0.50727.163 65,536 05-Jun-2006 16:07 x86 Vcomp.i386.pdb Not applicable 84,992 05-Jun-2006 16:07 Not applicable Vcomp.ia64.pdb Not applicable 101,376 05-Jun-2006 15:04 Not applicable Vcompd.amd64.pdb Not applicable 117,760 05-Jun-2006 14:55 Not applicable Vcompd.dll 8.0.50727.163 116,224 05-Jun-2006 14:55 x64 Vcompd.dll 8.0.50727.163 374,784 05-Jun-2006 15:04 IA-64 Vcompd.dll 8.0.50727.163 102,400 05-Jun-2006 16:07 x86 Vcompd.i386.pdb Not applicable 125,952 05-Jun-2006 16:07 Not applicable Vcompd.ia64.pdb Not applicable 183,296 05-Jun-2006 15:04 Not applicable
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the
_daylight global variable and the
_dstbias global variable, visit the following Microsoft Web site:
For more information about the
_tzset function, visit the following Microsoft Web site:
For more information about the
localtime function, visit the following Microsoft Web site:
APPLIES TO Microsoft Visual Studio 2005 Professional Edition Microsoft Visual Studio 2005 Standard Edition Microsoft Visual Studio 2005 Team Edition for Software Developers Microsoft Visual Studio 2005 Team Edition for Software Testers Microsoft Visual Studio 2005 Team Suite Microsoft Visual Studio 2005 Team System Test Edition kbhotfixserver kbexpertiseadvanced kbqfe KB915405
Provide feedback on this information
Did this information solve your problem?
Was this information relevant?
What can we do to improve this information?
To protect your privacy, do not include contact information in your feedback.
Thank you! Your feedback is used to help us improve our support content. For more assistance options, please visit the
Help and Support Home Page .