1 #ifndef SLIC_TIMEUTIL_HH
2 #define SLIC_TIMEUTIL_HH 1
25 std::string s = asctime(timeinfo);
26 s.erase(s.end() - 1, s.end());
40 strftime(buffer, 11,
"%Y-%m-%d", timeinfo);
41 return std::string(buffer);
49 timeinfo = localtime(&rawtime);
Miscellaneous time-related utilities.
static std::string getDate()
static tm * get_tm_local()
static long64 getTimeNS()
static std::string getAscTime()