vc获取时间戳

      CTime cTime = CTime::GetCurrentTime();
      CString msg;
      msg.Format("%u",cTime .GetTime());
      AfxMessageBox(msg);//返回结果:13位的字符串。如果需要返回YY:MM:DD,请google
原文地址:https://www.cnblogs.com/songtzu/p/3559448.html