Hello!
I have discovered an interesting phenomenon with COleDateTime. When constructing it with a value of 2145938400 (midnight, 1/1/2038, local time), the object represents 1:00:00 AM on 1/1/2038 (one hour "fast"). If I construct it with a value of 2145938399 (one second earlier), the object correctly represents 11:59:59 on 12/31/2037, local time). I am currently located in the GMT-6 time zone with daylight saving offset of 1 hour (+1 hr). So, my net result should be GMT-5.
Any idea why this might be?
I use the following code to test this:
std::cout << COleDateTime( ( time_t ) 2145938400 ).Format( ).operator LPCTSTR( );
Thanks!