Chinaunix首页 | 论坛 | 博客
  • 博客访问: 441093
  • 博文数量: 116
  • 博客积分: 2756
  • 博客等级: 少校
  • 技术积分: 1163
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-29 21:21
文章分类

全部博文(116)

文章存档

2018年(1)

2017年(1)

2016年(30)

2015年(41)

2014年(23)

2011年(7)

2010年(9)

2008年(4)

分类: HTML5

2015-04-15 15:55:36

using namespace std;
using namespace boost::posix_time;

boost::posix_time::ptime current_date_time = boost::posix_time::microsec_clock::local_time();
std::string current_date_time_string = to_simple_string(current_date_time);
std::cout << current_date_time_string << std::endl;


阅读(1061) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~