static std::time_t to_time_t( const time_point& t ); | (since C++11) |
Converts t
to a std::time_t
type.
If std::time_t
has lower precision, it is implementation-defined whether the value is rounded or truncated.
t | - | system clock time point to convert |
A std::time_t
value representing t
.
noexcept
specification: noexcept
[static] | converts std::time_t to a system clock time point (public static member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/chrono/system_clock/to_time_t