qi
std::string time_now() { time_t t = time(0); char tmp[64]; strftime(tmp, sizeof(time), "%Y%m%dT%H%M%S", localtime(&t)); return tmp; }
re
1.
http://www.cplusplus.com/reference/ctime/strftime/
2.
http://man7.org/linux/man-pages/man3/strftime.3.html
end