Convert an instance of time_t
to time_point.
![]() |
Note |
|---|---|
This function is provided for backwards compatibility only; new programs
should use |
time_point to_time_point(time_t const& t) noexcept;
- Returns:
std::chrono::system_clock::from_time_t(t)
Header
#include <chrono>
See Also
std::chrono::system_clockclassstd::chrono::system_clockmemberstime_pointtypedefstd::chrono::system_clock::to_time_t()std::chrono::system_clock::from_time_t()
![[Note]](../../../../../images/note.png)