...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructs a zero datetime.
constexpr
datetime();
» more...
Constructs a datetime from its individual components.
constexpr
datetime(
std::uint16_t year,
std::uint8_t month,
std::uint8_t day,
std::uint8_t hour = 0,
std::uint8_t minute = 0,
std::uint8_t second = 0,
std::uint32_t microsecond = 0);
» more...
Constructs a datetime from a time_point
.
explicit
constexpr
datetime(
time_point tp);
» more...