Hi, I'm making a OCX that I need to pass a date time value, how can I do it?
I always tried this but don't work:
long CMyClass::FunctionDate(DATE pDate, long pType)
{
COleDateTime(pDate) ct;
long mYear;
//
mYear = ct.GetYear();
}
how can I do it ???
Very Thanks,
Danilo ...
I always tried this but don't work:
long CMyClass::FunctionDate(DATE pDate, long pType)
{
COleDateTime(pDate) ct;
long mYear;
//
mYear = ct.GetYear();
}
how can I do it ???
Very Thanks,
Danilo ...