Hello,

How can I get a localized date string with the boost date / time library?

To illustrate:
 
date d(2005,06,25);
string sometext=to_simple_string(d);
 
This returns:
2005-Jun-25
 
However, I want to be able to define my own formats.I can get the localization example to work and format my stuff on stdout, but nowhere it tells anything about how to fill in a string using localized settings.
 
Thank you,
Albert