Formatting time in milliseconds using boost::date_time library

Posted by Ylisar on Stack Overflow See other posts from Stack Overflow or by Ylisar
Published on 2010-04-18T13:26:55Z Indexed on 2010/04/19 3:53 UTC
Read the original article Hit count: 238

Filed under:
|
|
|

I have a time duration in milliseconds which I ideally would like to format using the formatting functionality present in the boost::date_time library. However, after creating a boost::posix_time::time_duration I can't seem to find a way to actually apply the formatting string to it.

© Stack Overflow or respective owner

Related posts about c++

Related posts about boost