2019-01-15から1日間の記事一覧

MFCで現在時間取得

MFC

多分203うん年問題含む CTime cTime = CTime::GetCurrentTime(); // 現在時刻 CString str = cTime.Format("%Y/%m/%d %H:%M:%S"); // "YYYY/mm/dd HH:MM:SS"形式の時刻文字列を取得 ネタ元 http://www.mfc-programming.com/2010/ctime/mfc30.html