std::string current_time_stamp()
{
std::time_t now = std::time(NULL);
std::tm* ptm = std::localtime(&now);
char buff[100];
std::strftime(buff,32,"%Y-%m-%d %H:%M%s",ptm);
return string(buff);
}
std::string current_time_stamp()
{
std::time_t now = std::time(NULL);
std::tm* ptm = std::localtime(&now);
char buff[100];
std::strftime(buff,32,"%Y-%m-%d %H:%M%s",ptm);
return string(buff);
}