From: Christian H. <chh...@gm...> - 2007-05-18 19:23:49
|
I can second that. If you only need to parse some string to generate std::tm structure than I would think we don't need boost::date_time. Thanks Peter, for your fix. It's not quite the working though ;-) The output now is: 1982-06-12 01:00:00 Seems to me that the time value is off by an hour. When looking inside the std::tm structure the tm_hour member is 1. Christian On 18 May 2007 21:16:37 +0200, Peter Simons <si...@cr...> wrote: > Hi Dean, > > personally, I would prefer sticking to std::tm as the result type > of choice for the date parser. I wouldn't want to introduce a > dependency on Boost.Date_time unless I have to. Manipulating a > std::tm timestamp with the date_time library is simple enough > from the on. > > Just my 0.02 Euros, > Peter > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Cpp-netlib-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel > |