When you use CTime with MFC or some other time functions, time value stored as an unsigned long take into account the time offset. To avoid this, use must set the external value_daylight to 0. (Declared in time.h) _daylight = 0; CTime MyTime; // This time was initialized without time offset !!