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

#include <ctime>
#include <string>
#include <chrono>

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