Click to See Complete Forum and Search --> : COleDateTime::GetDayOfWeek


Mitch Wittneben
April 11th, 1999, 03:53 PM
Hello,

I believe I found a bug in Microsoft's implimentation of COleDateTime. I am working on an astronomical calculator and obviously one can enter celestial events for any year. The error appears to come from the omission of the Julian to Gregorian calendar change which is generally considered to have been adopted in 1582. For example October 4, 1582 a Thursday was followed by October 15, 1582 a Friday. Microsoft gets 10/15/1582 correct, but misses any date earlier than this. Also, any other time functions using dates earlier than this are incorrect. Any thoughts?

thanks,
mitch

April 11th, 1999, 09:07 PM
I was writting an application in which I was using a tremendous amount of COleDateTime objects. In the middle of the project I upgraded from 5 to 6 and noticed changes in the behavior of some of the member functions.

The funny thing is, our development license comes from an MSDN subscription. When I tried to report the bug to Microsoft they wanted me to pay for the support incident up front and they said they would not bill me if it was actually a problem. You would think that the subscription would have been enough.

Sorry about the babble. I agree, I think the broke some things in version 6.0.