摘要: <div>html</div><div> 阅读全文
posted @ 2013-05-12 22:16 ximenchuixie 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 常用用法举例:CTime t1;t1 = CTime::GetCurrentTime(); //获得当前时间CTime t1;CTime t2;CTimeSpan tx;tx = t1 - t2; //t1 与t2之间的时间段int day = tx.GetDays(); //t1与t2之间间隔的天数, 其他GetTotalHours()/*间隔的小时数*/,GetTotalMinites()/*间隔的分钟数*/类似GetHours()与GetTotalHours()区别:例如 CTimeSpan tx(1,2,3,4);//间隔时间为1天2小时3分钟4秒GetHours()返回2GetTot 阅读全文
posted @ 2013-05-12 22:09 ximenchuixie 阅读(360) 评论(0) 推荐(0) 编辑