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

    What is the difference between CTime and COleDateTime

    CTime and COleDateTime are very much similar classes. They also have accompanying ..Span classes. What is the difference between these two... one is that COleDateTime object take more space than CTime, but why invented two almost similar classes. Is the corresponding CTimeSpan classes signicantly important! We can do most of the work without them.
    Any comments are welcomed


  2. #2
    Join Date
    Apr 1999
    Posts
    16

    Re: What is the difference between CTime and COleDateTime

    I know of two differences. One being that CTime is limmited to the years between Jan. 1, 1970 and Jan 18, 2038. COleDateTime has the wider range of Jan 1, 100 through Dec 31, 9999.

    A second differnce is that CTime counters for daylight savings time while COleDateTime does not.


  3. #3
    Join Date
    May 1999
    Posts
    388

    Re: What is the difference between CTime and COleDateTime

    Can you you explain a bit what do you mean by 'daylight saving time', that COleDateTime does not have.
    Shahzad
    [email protected]



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