...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A std::chrono::time_point
that can represent any valid datetime, with microsecond resolution.
using time_point = std::chrono::time_point< std::chrono::system_clock, std::chrono::duration< std::int64_t, std::micro > >;
Time points used by this class are always local times, even if defined
to use the system clock. Prefer using local_time_point
, if your compiler
supports it.