![]() |
MantisBase v0.4.9
|
#include "../../include/mantisbase/utils/utils.h"#include <private/soci-mktime.h>#include <ctime>#include "../../include/mantisbase/mantisbase.h"
Namespaces | |
| namespace | mb |
Functions | |
| MANTISBASE_API std::tm | mb::toUtcTime (std::time_t t) |
| Thread-safe conversion of an epoch time to a UTC std::tm. | |
| MANTISBASE_API std::tm | mb::toLocalTime (std::time_t t) |
| Thread-safe conversion of an epoch time to a local-time std::tm. | |
| MANTISBASE_API std::string | mb::tmToStr (const std::tm &t) |
| Convert c++ std::tm date/time value to ISO formatted string. | |
| MANTISBASE_API std::tm | mb::strToTM (const std::string &value) |
| Convert ISO formatted datetime string to std::tm structure. | |
| MANTISBASE_API std::string | mb::dbDateToString (const std::string &db_type, const soci::row &row, int index) |
| Convert database date value from SOCI row to string. | |