retdec
|
Implementation of the time-related functions. More...
#include <iomanip>
#include <limits>
#include <sstream>
#include <string>
#include "retdec/utils/os.h"
#include "retdec/utils/time.h"
Namespaces | |
retdec | |
retdec::utils | |
Functions | |
std::tm * | retdec::utils::getCurrentTimestamp () |
Returns the current timestamp. More... | |
std::string | retdec::utils::getCurrentDate () |
Returns the current date in the form YYYY-MM-DD . More... | |
std::string | retdec::utils::getCurrentTime () |
Returns the current time in the form HH:MM:SS . More... | |
std::string | retdec::utils::getCurrentYear () |
Returns the current year in the form YYYY . More... | |
std::string | retdec::utils::timestampToDate (std::tm *tm) |
Returns date in human readable form. More... | |
std::string | retdec::utils::timestampToDate (std::time_t timestamp) |
Returns date in human readable form. More... | |
double | retdec::utils::getElapsedTime () |
Returns how much time has elapsed since the program was started (in seconds). More... | |
Implementation of the time-related functions.