boost::date_time::convert_string_type — Converts a string from one value_type to another.
// In header: <boost/date_time/string_convert.hpp> template<typename InputT, typename OutputT> ( inp_str);
Converts a wstring to a string (or a string to wstring). If both template parameters are of same type, a copy of the input string is returned.