retdec
Namespaces | Functions
time.h File Reference

Time-related functions. More...

#include <ctime>
#include <string>

Go to the source code of this file.

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...
 

Detailed Description

Time-related functions.