RESTinio

os_unknown.ipp
Go to the documentation of this file.
1 inline std::tm
2 make_gmtime( std::time_t t )
3{
4 std::tm res = *gmtime( &t );
5
6 return res;
7}
8
9 inline std::tm
10 make_localtime( std::time_t t )
11{
12 std::tm res = *localtime( &t );
13
14 return res;
15}
make_localtime
std::tm make_localtime(std::time_t t)
Definition: os_unknown.ipp:10
make_gmtime
std::tm make_gmtime(std::time_t t)
Definition: os_unknown.ipp:2