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;
阅读(1097) | 评论(0) | 转发(0) |