27 localtime_r(&t_timestamp, <m);
29 std::string humanTimestamp;
31 std::ostringstream ostri;
32 ostri << 1900 + ltm.tm_year
33 <<
"-" << 1 + ltm.tm_mon
35 <<
"T" << ltm.tm_hour <<
"-" << ltm.tm_min <<
"-" << ltm.tm_sec;
37 humanTimestamp = ostri.str();
39 return humanTimestamp;