vc獲取時間戳

 

      CTime cTime = CTime::GetCurrentTime();
      CString msg;
      msg.Format("%u",cTime .GetTime());
      AfxMessageBox(msg);//返回結果:13位的字符串。若是須要返回YY:MM:DD,請google
相關文章
相關標籤/搜索