id summary reporter owner description type status milestone component version severity resolution keywords cc 12609 time_duration::total_seconds doesn't return long for LP64 model anonymous James E. King, III "The documentation says that '''time_duration::total_seconds()''' returns '''long''' (http://www.boost.org/doc/libs/1_62_0/doc/html/date_time/posix_time.html). But for LP64 models (e.g. Linux, 64bit) it returns signed 32bit integer, not '''long''' (signed 64bit integer). It looks like '''time_resolution_traits::v_type''' (boost/date_time/time_resolution_traits.hpp) should be changed. At the moment it uses '''int32_t''' which is not correct for LP64 model because the documentation says it must be '''long'''." Bugs closed Boost 1.67.0 date_time Boost 1.62.0 Problem fixed