how can I get current time with library boost. I can do this:
ptime now = boost::posix_timesecond_clock::local_time(); tm d_tm = to_tm(now);
Bu
I think the code should be:
ptime now = boost::posix_time::second_clock::local_time();
I think you forget the "::" in the codes. ^_^