diff --git a/xmldoc/time_duration.xml b/xmldoc/time_duration.xml index 4ae53fe53..c31fb4d3c 100644 --- a/xmldoc/time_duration.xml +++ b/xmldoc/time_duration.xml @@ -38,7 +38,7 @@ time_duration td(1,2,3,4); //01:02:03.000004 when resolution is micro seconds

using namespace boost::posix_time; -time_duration td = hours(1) + seconds(10); //01:00:01 +time_duration td = hours(1) + seconds(10); //01:00:10 td = hours(1) + nanoseconds(5); //01:00:00.000000005 Note that the existence of the higher resolution classes (eg: nanoseconds) depends on the installation of the library. See Build-Compiler Information for more information.