I’ve found this. There appears to be no format flags, that give
me both a two digit month, i.e 22 and four digit year i.e 2009.
Have I missed something.
Sean.
you can do something like this.
boost::date_time::date d ; std::istringstream is ; is.imbue(std::locale (std::cout.getloc(), new boost::date_time::date_input_facet ("%d %B %Y")) is.str("22 July 2009"); is >> d ;