Title: RE: [msvc] Using CTime and CDateTimeCtrls


> -----Original Message-----
> From: BeginThread.com MSVC List [mailto:[EMAIL PROTECTED]]On Behalf
> Of Jack
> Sent: 10 May 2003 19:44
> To: [EMAIL PROTECTED]
> Subject: [msvc] Using CTime and CDateTimeCtrls
>
>
>   In view I have the code to get the date/time and in FindFiles I
>   have the code to compare the CTime structs.  I realize I could test
>   individual members of the CTime structs in FindFiles but I was
>   trying to do it with the built-in compare functions.  The problem
>   seems to be that I can't manually set members in CTime.  Is there a
>   way around this or am I following the wrong path?

Can I recommend COleDateTime? I believe they're preferred over CTime
anyway... since COleDateTime uses SYSTEMTIME internally(?), but CTime only
uses time_t, and thus suffers the 2038 limit.

--
Jason Teagle
[EMAIL PROTECTED]

Reply via email to