Utilitary class providing date and time functions. More...
#include <date_time.h>
Static Public Member Functions | |
| static std::string | Now (const std::string &format="%H:%M:%S") |
| Returns the formatted current time. More... | |
Private Member Functions | |
| DateTime () | |
| Default constructor - not implemented. | |
| ~DateTime () | |
| Destructor - void implementation. | |
| DateTime (DateTime const &) | |
| Copy constructor - not implemented. | |
| DateTime | operator= (DateTime const &) |
| Copy assignment operator - not implemented. | |
Utilitary class providing date and time functions.
Definition at line 47 of file date_time.h.
|
static |
Returns the formatted current time.
| format | the format of the output string (defaults to "%H:%M:%S") |
Get current time
Definition at line 38 of file date_time.cpp.
1.8.6