Click here to Skip to main content
15,892,005 members
Articles / Programming Languages / Objective C

Beating the Daylight Savings Time Bug and Getting Correct File Modification Times

Rate me:
Please Sign up or sign in to vote.
4.96/5 (28 votes)
28 May 200113 min read 490.8K   1.3K   51  
Windows reports erroneous file modification times, which change according to daylight savings. This article describes why this is so and how to determine correct file modification times and avoid the DST bug.
// stdafx.cpp : source file that includes just the standard includes
//	test_tz.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

// TODO: reference any additional headers you need in STDAFX.H
// and not in this file

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions