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;
69 <<
'-' <<
std::setw(2) << curr->tm_mon + 1
83 struct tm *curr = ::localtime(&t);
85 std::ostringstream
os;
89 <<
' ' <<
std::setw(4) << curr->tm_year + 1900;
98 struct tm *curr = ::localtime(&t);
100 std::ostringstream
os;
125 return ::difftime(last_, start_);
131 const auto prev(last_);
134 return ::difftime(last_, prev);
static const char * monthNames[]
Omanip< char > setfill(char fillch)
static time_t getTime()
Get the current clock time in seconds.
clock()
Construct with the current clock time for the start point.
static std::string date()
The current wall-clock date as a string formatted as (MON dd yyyy), where MON is Jan, Feb, etc.
static const struct tm rawDate()
The current wall-clock date as a raw struct.
double elapsedClockTime() const
Returns wall-clock time since clock instantiation.
static std::string dateTime()
The current wall-clock date/time (in local time) as a string in ISO-8601 format (yyyy-mm-ddThh:mm:ss)...
static std::string clockTime()
The current wall-clock (in local time) as a string formatted as as (hh:mm:ss).
OBJstream os(runTime.globalPath()/outputName)
double clockTimeIncrement() const
Returns wall-clock time since last clockTimeIncrement() call.
Omanip< int > setw(const int i)