Microsoft KB Archive/39908

From BetaArchive Wiki
Knowledge Base


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
    • Microsoft C Professional Development System 5.1
    • Microsoft C Professional Development System 6.0
    • Microsoft C Professional Development System 6.0a
    • Microsoft C/C++ Professional Development System 7.0
    • Microsoft Visual C++ 1.0 Professional Edition
    • Microsoft Visual C++ 1.5 Professional Edition



This article was previously published under Q39908

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