class header::date
#
-
class date#
Provides parsing and serialization for dealing with date.
Public Functions
-
inline explicit date(std::chrono::time_point<chrono::utc_clock> time)#
Construct by an UTC time.
-
inline explicit date(std::chrono::time_point<std::chrono::file_clock> time)#
Construct by a FILE time.
-
inline auto utc_time() -> std::chrono::time_point<chrono::utc_clock>#
Get UTC time.
-
inline auto file_time() -> std::chrono::time_point<std::chrono::file_clock>#
Get FILE time.
-
inline auto to_string() -> std::string#
Convert to string using
rfc9110
date and time format.
-
inline explicit date(std::chrono::time_point<chrono::utc_clock> time)#