Re: [Cppcms-users] Parsing time from a string into date_time?
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2012-04-19 08:00:15
|
On Thursday, April 19, 2012 02:37:59 PM Marcel Hellwig wrote: > http://www.cplusplus.com/reference/clibrary/ctime/strftime/ If I understand well, this function provides a string from a time_t. And if I understand well Petr's original request, he wants the opposite: get a time_t from a string. I'm sure there's an easy solution somewhere, a simple third-party API. In any case, there seem to be a relevant item in CPPCMS' roadmap, even if it's not what was requested either: http://cppcms.com/wikipp/en/page/cppcms_1x_tasks#Implement.Locale.sensitive.Date- Time.Form.Widgets "Implement Locale sensitive Date-Time Form Widgets ICU provides good features for parsing and formatting dates and times, implement Date-Time Widget for this purpose." Blessings, Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://les3enjeux.fr/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http:://jacqueslemaire.fr/ http://www.wechange.org/ http://searching911.info/ . |