CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    40

    COleDateTime::GetDayOfWeek

    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


  2. #2
    Guest

    Re: COleDateTime::GetDayOfWeek

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured