Click to See Complete Forum and Search --> : What is the difference between CTime and COleDateTime


Shahzad
April 9th, 1999, 12:38 PM
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

Mike
April 9th, 1999, 03:12 PM
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.

Shahzad
April 9th, 1999, 06:44 PM
Can you you explain a bit what do you mean by 'daylight saving time', that COleDateTime does not have.
Shahzad
u940098@giki.edu.pk