strCString="2003-10-27 6:24:37"; //CString--->COleDateTime
COleVariant vtime(strCString);
vtime.ChangeType(VT_DATE);
COleDateTime time4=vtime;
COleDateTime time4; //COleDataTime--->CTime
SYSTEMTIME systime;
VariantTimeToSystemTime(time4, &systime);
CTime tm(systime);
COleVariant vtime(strCString);
vtime.ChangeType(VT_DATE);
COleDateTime time4=vtime;
COleDateTime time4; //COleDataTime--->CTime
SYSTEMTIME systime;
VariantTimeToSystemTime(time4, &systime);
CTime tm(systime);