using namespace boost::posix_time;
using namespace boost::gregorian;
time_duration hms(second_clock::local_time().time_of_day());
int hour = hms.hours();
int minutes= hms.minutes();
boost 获取日期时间
猜你喜欢
转载自blog.csdn.net/u010261063/article/details/82113097
今日推荐
周排行