Advertisement
Guest User

Untitled

a guest
Jul 29th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <boost/date_time.hpp>
  2.  
  3. using boost::posix_time::time_from_string;
  4. using boost::posix_time::seconds;
  5.  
  6. 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