mirror of
https://github.com/hch12907/orbum.git
synced 2024-06-02 19:38:16 -04:00
9 lines
261 B
C++
9 lines
261 B
C++
#pragma once
|
|
|
|
#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));
|