Function format_time
Synopsis
#include "breeze/time/format_time.hpp"
maybe< std::string > format_time(std::string const &format, time_kind=time_kind::utc, std::time_t time_stamp=std::time(nullptr))
Description
- Returns
- The time corresponding to
time_stamp
, formatted according toformat
.format
is interpreted as if passed to thestrftime()
standard function. - See
- time_kind.
strftime()
;-)).
- Note
- This function is thread-safe and reentrant.
Source
Line 92 in breeze/time/format_time.hpp.