
20 Feb
2006
20 Feb
'06
11:17 p.m.
Not sure, if I understand you correctly. Have you tried date_facets to imbue stringstreams? There you can define the format of dates. Something, like this: date d(2005,06,25); date_facet date_output; stringstream ss; ss.imbue( locale(ss.getloc(), &date_output) ); date_output.format("%Y-%B-%d"); ss << d; string strDate = ss.str(); Is it what you are asking for? Christian