59 mutable time_t lastTime_;
62 mutable time_t newTime_;
65 static const char *monthNames[];
82 static const struct tm
rawDate();
Read access to the system clock with formatting.
time_t elapsedClockTime() const
Returns wall-clock time from clock instantiation.
static time_t getTime()
Get the current clock time in seconds.
static string dateTime()
Return the current wall-clock date/time as a string.
static string clockTime()
Return the current wall-clock time as a string.
static string date()
Return the current wall-clock date as a string.
static const struct tm rawDate()
Return the current wall-clock date as a raw struct.
time_t clockTimeIncrement() const
Returns wall-clock time from last call of clockTimeIncrement()
clock()
Null constructor which stores the start time.