while(true){CTime time=CTime::GetCurrentTime();CString csTmp=time.Format("%Y.%B.%d-%A");AfxMessageBox(csTmp);sleep(1000);}
sleep(60000);