c++ - Parsing date/time strings problem -


i'm having problems finding algorithm parses wide range of date/time strings. need not handles common formats such yyyy-mm-dd etc, little more exotic such swedish long date format 'den 'd mmmm yyyy allows "den 1 december 2010". needs handle formats windows has been set to, i.e. if set swedish wouldn't expect handle french etc.

i hoping mfc coledatetime's parsedatetime handle it, doesn't appear to.

does know of versatile enough handle these various date formats?

boost.datetime has flexible range of parsing options. see here initial example. can specify own input/output format using flags here.

you use build factory class generates parser/streamer based on locale of system.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -