C++ MFC CTime::Format CTime tNow=CTime::GetCurrentTime(); CString strTime1 = tNow.Format(_T("%Y年%m月%d日")); // 2020年02月02日 CString strTime2 = tNow