TString FormatDateTime(time_t value) { TStringStream tss; tss.imbue(locale("")); tss << put_time(localtime(&value), wxT("%c")); return tss.str(); }
TString FormatWithCommas(T value) { TStringStream tss; tss.imbue(locale("")); tss << fixed << value; return tss.str(); }