#include <timeutils.h>
Static Public Member Functions | |
static std::string | timeAsString (const std::string &formatString, time_t time) |
static std::string | timeAsString (const std::string &formatString) |
A collection of usefull time functions
static std::string utils::TimeUtils::timeAsString | ( | const std::string & | formatString, |
time_t | time | ||
) | [inline, static] |
Formats a string using strftime
Taken from http://stackoverflow.com/questions/7935483/c-function-to-format-time-t-as-stdstring-buffer-length
static std::string utils::TimeUtils::timeAsString | ( | const std::string & | formatString | ) | [inline, static] |
Formats a string using strftime
Taken from http://stackoverflow.com/questions/7935483/c-function-to-format-time-t-as-stdstring-buffer-length
Returns the formated time for the current time