...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::date_time::c_local_adjustor — Adjust to / from utc using the C API.
// In header: <boost/date_time/c_local_time_adjustor.hpp> template<typename time_type> class c_local_adjustor { public: // types typedef time_type::time_duration_type time_duration_type; typedef time_type::date_type date_type; typedef date_type::duration_type date_duration_type; // public static functions static time_type utc_to_local(const time_type &) ; };