11 return ctime(&rawtime);
17 return tempStr.substr(0,6);
26 timeinfo = localtime(&rawtime);
28 std::ostringstream
out;
30 out << std::setfill(
'0') << std::setw(4) << timeinfo->tm_year + 1900;
31 out << std::setfill(
'0') << std::setw(2) << timeinfo->tm_mon + 1;
32 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)