
26 Jun
2006
26 Jun
'06
4:40 p.m.
I'm looking to take a string and convert it to a date. The only problem is the string can be one of many patterns. i.e. ("%Y%m%d", "%Y-%m-%d", "%d/%m/%Y", etc...). It is also possible that the given string will fail all pattern matches, and thus return false. Can anyone give me an example of how to do this? I know you need to use the date_input_facet, but I am VERY new to boost and can't get it to work. Thanks! -Jason