10 return ctime(&rawtime);
15 return tempStr.substr(0, 6);
23 timeinfo = localtime(&rawtime);
25 std::ostringstream
out;
27 out << std::setfill(
'0') << std::setw(4) << timeinfo->tm_year + 1900;
28 out << std::setfill(
'0') << std::setw(2) << timeinfo->tm_mon + 1;
29 out << std::setfill(
'0') << std::setw(2) << timeinfo->tm_mday;
std::string TimeStampYYYYMM(time_t rawtime=0)
std::string TimeStampLong(time_t rawtime=0)
std::string TimeStampYYYYMMDD(time_t rawtime=0)