CString strTime;
strTime.Format("%c%c%c%c%c%c%",csLocalTime->csyear,csLocalTime->csmonth,...);或用Memcpy((LPTSTR)strTime,csLocalTime,6);