vc获取时间戳

时间:2014-02-22 00:38:46   收藏:0   阅读:715

 

      CTime cTime = CTime::GetCurrentTime();
      CString msg;
      msg.Format("%u",cTime .GetTime());
      AfxMessageBox(msg);//返回结果:13位的字符串。如果需要返回YY:MM:DD,请google

原文:http://www.cnblogs.com/songtzu/p/3559448.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!