Microsoft KB Archive/39908

= Time Functions Calculate for Daylight Saving Time =

Article ID: 39908

Article Last Modified on 1/23/2007

-

APPLIES TO

 The C Run-Time (CRT), when used with:  Microsoft C Professional Development System 5.1

 Microsoft C Professional Development System 6.0

 Microsoft C Professional Development System 6.0a

 Microsoft C Professional Development System 6.0a</li></ul>

 Microsoft C Professional Development System 5.1</li></ul>

 Microsoft C Professional Development System 6.0</li></ul>

 Microsoft C Professional Development System 6.0a</li></ul>

 Microsoft C/C++ Professional Development System 7.0</li></ul>

 Microsoft Visual C++ 1.0 Professional Edition</li></ul>

 Microsoft Visual C++ 1.5 Professional Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q39908

<div class="notice_section">

The Microsoft time functions calculate for daylight saving time. In particular, mktime will set the hour ahead or back one hour according to the rules of daylight saving time. The only way to change the dates that the time functions use in calculating daylight saving time is to get the run-time library source code available for the time functions and modify the routine _isindst in the file TZSET.C.

Additional query words: kbinf 1.00 1.50 6.00 6.00a 6.00ax 7.00

Keywords: kb16bitonly KB39908

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.