20#ifndef ORES_UTILITY_DATETIME_DATETIME_HPP
21#define ORES_UTILITY_DATETIME_DATETIME_HPP
26namespace ores::utility::datetime {
41 const std::chrono::system_clock::time_point& tp,
42 const std::string& format =
"%Y-%m-%d %H:%M:%S");
Utilities for date and time operations.
Definition datetime.hpp:31
static std::string format_time_point(const std::chrono::system_clock::time_point &tp, const std::string &format="%Y-%m-%d %H:%M:%S")
Formats a time point as a string.
Definition datetime.cpp:28