Mentioned
In
|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 932298 - Last Review: April 12, 2007 - Revision: 3.4 FIX: Visual C++ .NET 2003 Service Pack 1 C runtime daylight saving time 2007 update for the TZ environment variable problemStarting in 2007, the start date and the end date for daylight saving time (DST) in the United States will change to comply with the Energy Policy Act of 2005. DST in the United States will start three weeks earlier than it has started in the past. DST in the United States will start at 2:00 A.M. on the second Sunday in March. Additionally, DST in the United States will end one week later than it has ended in the past. DST in the United States will end at 2:00 A.M. on the first Sunday in November. In 2007, DST in the United States will start on March 11, 2007, and will end on November 4, 2007.
In Microsoft Visual C++ .NET 2003, some C runtime (CRT) functions ignore the DST rules that are set in the operating system when the TZ environment variable is set. For example, the localtime function and the _localtime64 function identify the first Sunday in April as the start date for DST and the last Sunday in October as the end date for DST. Therefore, a Visual C++ .NET 2003 application that uses the TZ environment variable may not work as expected. Hotfix informationFor more information about the MSDN Code Gallery, visit the following Microsoft Web site:
PrerequisitesYou must have Visual C++ .NET 2003 Service Pack 1 installed to apply this hotfix. Restart requirementYou do not have to restart the computer after you apply this hotfix. Hotfix replacement informationThis 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 tableExpand this table | File name | File version | File size | Date | Time |
|---|
| Eh.lib | | 369,830 | 02-Feb-2007 | 01:46 | | Eh.lib | | 372,042 | 02-Feb-2007 | 01:46 | | Eh.lib | | 421,184 | 02-Feb-2007 | 01:46 | | Eh.lib | | 388,164 | 02-Feb-2007 | 01:46 | | Eh.lib | | 390,022 | 02-Feb-2007 | 01:46 | | A_map.c | | 13,858 | 02-Feb-2007 | 01:30 | | Eh.lib | | 407,888 | 02-Feb-2007 | 01:46 | | File2.h | | 1,868 | 02-Feb-2007 | 01:29 | | Internal.h | | 16,126 | 02-Feb-2007 | 01:29 | | Io.h | | 10,456 | 02-Feb-2007 | 01:29 | | Ioinit.c | | 12,114 | 02-Feb-2007 | 01:30 | | Ios.cpp | | 4,246 | 11-Jan-2007 | 18:20 | | Libcd.lib | | 3,063,176 | 02-Feb-2007 | 01:50 | | Libcd.pdb | | 94,208 | 02-Feb-2007 | 01:50 | | Libcmtd.lib | | 3,351,196 | 02-Feb-2007 | 01:51 | | Libcmtd.pdb | | 102,400 | 02-Feb-2007 | 01:51 | | Libcmt.lib | | 2,982,634 | 02-Feb-2007 | 01:48 | | Libcmt.pdb | | 102,400 | 02-Feb-2007 | 01:48 | | Libcpd.lib | | 4,558,488 | 02-Feb-2007 | 01:50 | | Libcpd.pdb | | 225,280 | 02-Feb-2007 | 01:50 | | Libcpmtd.lib | | 4,573,772 | 02-Feb-2007 | 01:51 | | Libcpmtd.pdb | | 233,472 | 02-Feb-2007 | 01:51 | | Libcpmt.lib | | 3,752,048 | 02-Feb-2007 | 01:48 | | Libcpmt.pdb | | 217,088 | 02-Feb-2007 | 01:48 | | Libcp.lib | | 3,701,740 | 02-Feb-2007 | 01:47 | | Libcp.pdb | | 217,088 | 02-Feb-2007 | 01:47 | | Libc.lib | | 2,746,178 | 02-Feb-2007 | 01:47 | | Libc.pdb | | 94,208 | 02-Feb-2007 | 01:47 | | Msdos.h | | 3,061 | 02-Feb-2007 | 01:29 | | Msvcp71d.dll | 7.10.6052.0 | 765,952 | 02-Feb-2007 | 01:51 | | Msvcp71d.pdb | | 2,698,240 | 02-Feb-2007 | 01:51 | | Msvcp71.dll | 7.10.6052.0 | 503,808 | 02-Feb-2007 | 02:13 | | Msvcp71.dll | 7.10.6052.0 | 503,808 | 02-Feb-2007 | 02:13 | | Msvcp71.dll | 7.10.6052.0 | 503,808 | 02-Feb-2007 | 02:13 | | Msvcp71.pdb | | 3,058,688 | 02-Feb-2007 | 02:13 | | Msvcprtd.lib | | 1,369,260 | 02-Feb-2007 | 01:51 | | Msvcprt.lib | | 1,360,324 | 02-Feb-2007 | 01:49 | | Msvcr71d.dll | 7.10.6052.0 | 544,768 | 02-Feb-2007 | 01:51 | | Msvcr71d.pdb | | 1,838,080 | 02-Feb-2007 | 01:51 | | Msvcr71.dll | 7.10.7031.4 | 344,064 | 01-Feb-2007 | 23:11 | | Msvcr71.dll | 7.10.7031.4 | 344,064 | 01-Feb-2007 | 23:11 | | Msvcr71.dll | 7.10.7031.4 | 344,064 | 01-Feb-2007 | 23:11 | | Msvcr71.dll | 7.10.7031.4 | 344,064 | 01-Feb-2007 | 23:11 | | Msvcr71.dll | 7.10.7031.4 | 344,064 | 01-Feb-2007 | 23:11 | | Msvcr71.dll | 7.10.7031.4 | 344,064 | 01-Feb-2007 | 23:11 | | Msvcr71.dll | 7.10.7031.4 | 344,064 | 01-Feb-2007 | 23:11 | | Msvcr71.dll | 7.10.7031.4 | 344,064 | 01-Feb-2007 | 23:11 | | Msvcr71.pdb | | 1,575,936 | 01-Feb-2007 | 23:11 | | Msvcrtd.lib | | 444,634 | 02-Feb-2007 | 01:51 | | Msvcrt.lib | | 432,984 | 02-Feb-2007 | 01:49 | | Osfinfo.c | | 14,883 | 02-Feb-2007 | 01:30 | | Popen.c | | 17,400 | 02-Feb-2007 | 01:30 | | Read.c | | 9,948 | 02-Feb-2007 | 01:30 | | Stream.c | | 4,177 | 02-Feb-2007 | 01:30 | | Tzset.c | | 21,715 | 02-Feb-2007 | 01:30 | | Vc_user_crt71_rtl_x86_---.msm | | 202,240 | 02-Feb-2007 | 17:31 | | Vc_user_stl71_rtl_x86_---.msm | | 151,040 | 02-Feb-2007 | 17:31 | | _file.c | | 9,218 | 02-Feb-2007 | 01:30 |
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. After you apply this hotfix, the CRT functions identify the correct start date and the correct end date for DST when the TZ environment variable is set. For dates in 2007, the CRT functions identify the second Sunday in March as the start date for DST and the first Sunday in November as the end date for DST. For dates in 2006 and in years before 2006, the CRT functions identify the first Sunday in April as the start date for DST and the last Sunday in October as the end date for DST. The following CRT and Microsoft Foundation Classes (MFC) functions call the localtime function and the _localtime64 function: - ctime
- _wctime
- _tctime
- _ctime64
- _wctime64
- _tctime64
- mktime
- _mktime64
- _utime
- _wutime
- _tutime
- _utime64
- _wutime64
- _tutime64
- COleDateTime::operator-
- CTime::GetLocalTm
- CTime::Format
These functions may also be affected by this problem. For more information about the TZ environment variable and about the _tzset function, visit the following Microsoft Developer Network (MSDN) Web site:
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684Â
(http://kbalertz.com/Feedback.aspx?kbNumber=824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
APPLIES TO- Microsoft Visual C++ .NET 2003 Standard Edition
| kbfix kbbug kbqfe kbpubtypekc KB932298 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please
|
 |
 |
 |
 |
 |
 |
 |
| |