vc获取时间戳

 

      CTime cTime = CTime::GetCurrentTime();
      CString msg;
      msg.Format("%u",cTime .GetTime());
      AfxMessageBox(msg);//返回结果:13位的字符串。若是须要返回YY:MM:DD,请google
相关文章
相关标签/搜索