Files | |
file | ptime.hpp |
Contains all toast extensions to boost date_time library (there's only one :). | |
Functions | |
boost::posix_time::ptime | toast::posix_time::local_ptime_from_time_t (std::time_t t) |
convert a time_t to ptime in the local time zone. |
boost::posix_time::ptime toast::posix_time::local_ptime_from_time_t | ( | std::time_t | t | ) |
convert a time_t to ptime in the local time zone.
Like boost::posix_time::from_time_t, but the resulting ptime is adjusted to local time instead of UTC.