Boost logo

Boost Users :

From: Jason Dolan (jason_at_[hidden])
Date: 2006-06-26 12:40:02


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net