
6 Dec
2006
6 Dec
'06
12:45 p.m.
Hi! I have to read in a file format where the date is given as month/day/year, but without leading '0' for day and month.
From http://boost.org/doc/html/date_time/date_time_io.html I could not guess how to declare the facet format string (No leading zeroes required)
Could you please complete the following code? std::istringstream iss; local_time_input_facet* input_facet = new local_time_input_facet(); ss.imbue(locale(ss.getloc(), input_facet)); input_facet->format("???????"); regards, Markus