Click to See Complete Forum and Search --> : Initialisation of a COleDateTime object


Gerald Mercet
September 6th, 2001, 03:56 AM
Hi,

At the beginning of my application, i declare a COleDateTime object like that:
COleDateTime Date1;

After, i have to compare other dates(Date2,Date3), and then change Date1, which is inialized firstly to 0, like that:Date1=Date2.GetDay()/Date2.GetMonth()/Date3.GetYear().
So, i don't know how i could modificate Date1 in this way, is anybody coule explain me how to do that?

thanks in advance.

gerald