mirror of
https://github.com/hch12907/orbum.git
synced 2024-06-02 19:38:16 -04:00
7 lines
247 B
C++
7 lines
247 B
C++
|
#include <string>
|
||
|
#include <ctime>
|
||
|
|
||
|
/// Returns a string of the given date and time with the specified format string.
|
||
|
/// Defaults to the current time.
|
||
|
std::string datetime_fmt(const char* format, const std::time_t datetime = std::time(nullptr));
|