Re: [Cppcms-users] Parsing time from a string into date_time?
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-04-19 10:45:47
|
On the other hand would this work? ( i don't have a C++ compiler on this windows laptop to try it) double t; istringstream is("2001-12-12"); is >> as::ftime("%Y-%m-%d") >> t; date_time dt(t); Petr |