7
const boost::posix_time::ptime now= boost::posix_time::second_clock::local_time();
year_ = now.date().year();
month_ = now.date().month();
day_ = now.date().day();
這是我如何得到boost :: posix_time :: ptime的年,月和日,但我無法弄清楚如何獲得小時,分鐘和秒。你能幫我解決嗎?如何獲得小時,分鐘和秒
你能文檔所以在添加一個鏈接到源我知道在哪裏可以找到它的未來? –