39 "Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
40 "Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec",
48 return ::time(
reinterpret_cast<time_t*
>(0));
55 struct tm *curr = ::localtime(&t);
63 struct tm *curr = ::localtime(&t);
65 std::ostringstream
os;
68 << std::setw(4) << curr->tm_year + 1900
69 <<
'-' << std::setw(2) << curr->tm_mon + 1
70 <<
'-' << std::setw(2) << curr->tm_mday
72 << std::setw(2) << curr->tm_hour
73 <<
':' << std::setw(2) << curr->tm_min
74 <<
':' << std::setw(2) << curr->tm_sec;
83 struct tm *curr = ::localtime(&t);
85 std::ostringstream
os;
88 <<
' ' << std::setw(2) << std::setfill(
'0') << curr->tm_mday
89 <<
' ' << std::setw(4) << curr->tm_year + 1900;
98 struct tm *curr = ::localtime(&t);
100 std::ostringstream
os;
103 << std::setw(2) << curr->tm_hour
104 <<
':' << std::setw(2) << curr->tm_min
105 <<
':' << std::setw(2) << curr->tm_sec;
125 return ::difftime(last_, start_);
131 const auto prev(last_);
134 return ::difftime(last_, prev);
double clockTimeIncrement() const
Returns wall-clock time since last clockTimeIncrement() call.
double elapsedClockTime() const
Returns wall-clock time since clock instantiation.
static time_t getTime()
Get the current clock time in seconds.
static std::string date()
static std::string dateTime()
static const struct tm rawDate()
The current wall-clock date as a raw struct.
static std::string clockTime()
clock()
Construct with the current clock time for the start point.
static const char * monthNames[]
OBJstream os(runTime.globalPath()/outputName)