I have to do some simple date comparison's and I don't
want to use CTimeSpan or any other MFC classes. How can I
compare date's without using any MFC or ATL classes?
Thanks
Mark

Re: Date Comparison by CheckAbdoul

CheckAbdoul
Tue Jul 29 14:01:36 CDT 2003

See if you can use the CompareFileTime() API.

--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------

"Mark" <caveno@cs.com> wrote in message
news:020101c35602$84bb8130$a401280a@phx.gbl...
> I have to do some simple date comparison's and I don't
> want to use CTimeSpan or any other MFC classes. How can I
> compare date's without using any MFC or ATL classes?
> Thanks
> Mark



Re: Date Comparison by ak

ak
Wed Jul 30 13:06:02 CDT 2003

On Tue, 29 Jul 2003 11:52:11 -0700, "Mark" <caveno@cs.com> wrote:

|I have to do some simple date comparison's and I don't
|want to use CTimeSpan or any other MFC classes. How can I
|compare date's without using any MFC or ATL classes?
|Thanks
|Mark

you could use the standard time functions in time.h - have a look :)

time_t t;
time(&t);
struct tm *p;

etc.


hth/ak

--
g a n d a l f @ p c . n u