I'm trying to get a ptime relative to 1/1/1970, so I did: using namespace boost::date_time; ptime d; ... boost::posix_time::time_duration since_1970 = d - 1/Jan/1970;
Error. Since it is a completely lossless conversion (like an upcast), I'd like to see boost::date -> boost::posix_time::ptime implicit conversions added. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost