posts - 131, comments - 12, trackbacks - 0, articles - 0
  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

获取系统时间

Posted on 2012-10-30 16:20 盛胜 阅读(142) 评论(0)  编辑 收藏 引用
CString cdatetime;
CTime theCurrentTime=CTime::GetCurrentTime(); 
cdatetime=theCurrentTime.Format("%Y/%m/%d %H:%M:%S"); 

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理