Boost logo

Boost Users :

Subject: Re: [Boost-users] DateTime from String
From: Philipp Kraus (philipp.kraus_at_[hidden])
Date: 2011-07-31 08:55:15


On 2011-07-30 20:42:37 +0200, Igor R said:

>>
>> 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
>

Thanks, but can I use a "parsing string"? The examples shows a other
format, so I must convert
my string or tell the "time_from/iso_string" to use a other format. How
can I set the format?

Thanks


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net