summaryrefslogtreecommitdiff
path: root/src/utils/time.hpp
blob: c71cd9c5957330da90712595400b2a01cb2df215 (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include <ctime>
#include <string>

namespace utils
{
std::string to_string(const std::time_t& timestamp);
std::time_t parse_datetime(const std::string& stamp);
}