Subject: Re: [Boost-users] DateTime from String
From: Igor R (boost.lists_at_[hidden])
Date: 2011-07-30 14:42:37


> I read a string with a date / time format, like:  Fri, 29 Jul 2011 13:48:57 +0000
> Can I use Boost.DateTime to convert the string into a std::time_t value?
> How can I do this?

See the DateTime docs for details:
http://www.boost.org/doc/libs/1_47_0/doc/html/date_time/posix_time.html#ptime_from_string