SYSTEMTIME stLocal; GetLocalTime(&stLocal); char chBuf[256]; memset(chBuf,0,sizeof(chBuf)); sprintf(chBuf,TEXT("%0.2i-%0.2i-%i %0.2i:%0.2i:%0.2i"),stLocal.wYear,stLocal.wMonth,stLocal.wDay, stLocal.wHour,stLocal.wMinute,stLocal.wSecond);
,SYSTEMTIME stLocal; GetLocalTime(&stLocal); char chBuf[256]; memset(chBuf,0,sizeof(chBuf)); sprintf(chBuf,TEXT("%0.2i-%0.2i-%i %0.2i:%0.2i:%0.2i"),stLocal.wYear,stLocal.wMonth,stLocal.wDay, stLocal.wHour,stLocal.wMinute,stLocal.wSecond);
,