Loxahatchee  v0.0.1-1346
Lox Convenience C++ Library
LoxTime.hpp File Reference

Common functions to handle timestamps and date/time strings. More...

#include <time.h>
#include <string>
Include dependency graph for LoxTime.hpp:
This graph shows which files directly or indirectly include this file:

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

Detailed Description

Common functions to handle timestamps and date/time strings.