Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <boost/date_time.hpp>
- using boost::posix_time::time_from_string;
- using boost::posix_time::seconds;
- std::cout << time_from_string("2014-07-29 16:37:48") + seconds(3056144) << std::endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement