#include <cstring>
#include <boost/date_time/posix_time/ptime.hpp>
#include <boost/date_time/posix_time/posix_time_duration.hpp>
#include <boost/date_time/filetime_functions.hpp>
#include <boost/date_time/c_time.hpp>
#include <boost/date_time/time_resolution_traits.hpp>
#include <boost/date_time/gregorian/conversion.hpp>
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::posix_time | |
Defines a non-adjusted time system with nano-second resolution and stable calculation properties. | |
Functions | |
ptime | boost::posix_time::from_time_t (std::time_t t) |
Function that converts a time_t into a ptime. More... | |
std::tm | boost::posix_time::to_tm (const boost::posix_time::ptime &t) |
Convert a time to a tm structure truncating any fractional seconds. More... | |
std::tm | boost::posix_time::to_tm (const boost::posix_time::time_duration &td) |
Convert a time_duration to a tm structure truncating any fractional seconds and zeroing fields for date components. More... | |
ptime | boost::posix_time::ptime_from_tm (const std::tm &timetm) |
Convert a tm struct to a ptime ignoring is_dst flag. More... | |