Time Functions Calculate for Daylight Saving Time

Article translations Article translations
Article ID: 39908 - View products that this article applies to.
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.
Expand all | Collapse all

Properties

Article ID: 39908 - Last Review: January 23, 2007 - Revision: 2.1
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
Keywords: 
kb16bitonly KB39908
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com