9 Jun
2008
9 Jun
'08
12:09 p.m.
Sean Farrow schrieb:
Does boost::datetime allow me to convert seconds (such as 164) to minutes and seconds? If yes wha function does this. Sean.
Construct a time_duration to get the information, i.e.: boost::posix_time::time_duration dur = boost::posix_time::seconds(164); long h = dur.hours(); long m = dur.minutes(); long s = dur.seconds(); Regards James