|
Boost Users : |
From: Albert Wessel (awessel_at_[hidden])
Date: 2006-02-20 13:30:59
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
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