Common functions to handle timestamps and date/time strings. More...
#include <time.h>
#include <string>
Namespaces | |
Lox | |
Common methods and functionality easily shared between projects. | |
Functions | |
std::string | Lox::approximateTime (const time_t &tt) |
Convert the given absolute (since epoch) time to an easy-to-read text string. More... | |
std::string | Lox::approximateTime (const std::string &str) |
Convert a database timestamp to an easy-to-read text string. More... | |
time_t | Lox::timeFromString (const std::string &str) |
Convert a database timestamp (or other date/time string) to a time_t type. More... | |
Common functions to handle timestamps and date/time strings.