00001 #ifndef toast_date_time_ptime_hpp_INCLUDED 00002 #define toast_date_time_ptime_hpp_INCLUDED 00003 00004 #include <ctime> 00005 #include <boost/date_time/posix_time/posix_time.hpp> 00006 00014 namespace toast { 00015 namespace posix_time { 00016 00027 boost::posix_time::ptime local_ptime_from_time_t( std::time_t t ); 00028 00031 } // namespace posix_time 00032 } // namespace toast 00033 00041 #endif // toast_date_time_ptime_hpp_INCLUDED 00042