boost 獲取日期時間

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();
相關文章
相關標籤/搜索